I iamcrazy New Member Feb 2, 2015 #1 How would you split a string via a Delimiter and make it into a list? I have looked here: http://www.b4x.com/android/help/stringfunctions.html#stringfunctions_split But I am just starting out with Basic4android and would like to get through my trial before the purchase which is necessary to download a library. Thanks
How would you split a string via a Delimiter and make it into a list? I have looked here: http://www.b4x.com/android/help/stringfunctions.html#stringfunctions_split But I am just starting out with Basic4android and would like to get through my trial before the purchase which is necessary to download a library. Thanks
DonManfred Expert Licensed User Longtime User Feb 2, 2015 #2 You already read the answer in the link you posted... B4X: Dim ANS As List ANS = SF.Split("This is a test string.", ";") ' Here i used a semicolon as separator Upvote 0
You already read the answer in the link you posted... B4X: Dim ANS As List ANS = SF.Split("This is a test string.", ";") ' Here i used a semicolon as separator
Erel B4X founder Staff member Licensed User Longtime User Feb 2, 2015 #3 You can also use Regex.Split: Regular expressions tutorial If you are trying to load a CSV file then you can use StringUtils.LoadCSV. Upvote 0
You can also use Regex.Split: Regular expressions tutorial If you are trying to load a CSV file then you can use StringUtils.LoadCSV.
I iamcrazy New Member Feb 2, 2015 #4 DonManfred said: You already read the answer in the link you posted... B4X: Dim ANS As List ANS = SF.Split("This is a test string.", ";") ' Here i used a semicolon as separator Click to expand... Isnt SF referencing the library though? Upvote 0
DonManfred said: You already read the answer in the link you posted... B4X: Dim ANS As List ANS = SF.Split("This is a test string.", ";") ' Here i used a semicolon as separator Click to expand... Isnt SF referencing the library though?
DonManfred Expert Licensed User Longtime User Feb 3, 2015 #5 B4X: Dim sf As StringFunctions and mark the librry Stringfunctions. Ohh, i see you have a trial. You can not use Librarys in trial, sorry Upvote 0
B4X: Dim sf As StringFunctions and mark the librry Stringfunctions. Ohh, i see you have a trial. You can not use Librarys in trial, sorry