我在sqlserver中使用分隔字符串。select * from fnSplit('1,22,333,444,,5555,666')
它将字符串拆分成一个表。我有10行,其中包含由逗号分隔的有限字符串,如1,22,333。我需要获取每一行,并在其上使用函数fnSplit,然后返回单个表中的所有值。我该怎么做?
我想把字符串分成以下几种方式。假设我给出了一个字符串输入,如示例1 jayesh =10 vyas =13 harshit=10; and so on作为输入示例2:harsh=2, vyas=5;
现在我想将jayesh, vyasharsh , vyas from sample 2(all this type of strings which are just before the assignment operator)存储到字符串或字符数组中所以谁能告诉我如何在java中做到这一