Hi I have a textfile like "Hello world"How are you". I wanna put these in an array as arr1 = Hello world arr2 = How are you. I am trying to use the split function but it doest work for this delimeter. Supposing it was hello world,how are you the split function works fine. For the latter the code is
a.split(",") . but when splitting from " a.split(""") is giving syntax error. Have tried the escape characters as well like a.split("\"") , a.split("/"") , but all in vain.. Help appreciated.
Thanks
2007-05-03
00:10:01
·
2 answers
·
asked by
neo_bourne_21
2