StringBuilder to Array of Strings how to convert

前端 未结 2 561
挽巷
挽巷 2020-12-21 06:25

cant anything find or read about this problem ( it\'s problem only for me but maybe someone know way to fix it.

i have function which reading from asset folder

相关标签:
2条回答
  • 2020-12-21 07:03

    temp = sb.toString().split("TABTAB"); will split the string and return an array of strings for each line. But Iäm not completely sure that this is what you are trying to do...

    0 讨论(0)
  • 2020-12-21 07:05

    To convert stringbuilder to string array do the following:

    string sbString = sb.toString();
    String[] ary = sbString.split("TABTAB");
    
    0 讨论(0)
提交回复
热议问题