I have string:
How can i do that in B4A without using For Loop? Is there a special library or short version?
I need to cut my string after second "," but need to know how many characters is in string because if i use directly SubString2 and cut after second "," and there is only one "," function will get error code so i need to know exactly how many "," is in the string.
B4X:
Dim Name As String
Name = "A,B,C,D,E"
Log(Name.CharactersCount(",")) ' Need To Output 4
How can i do that in B4A without using For Loop? Is there a special library or short version?
I need to cut my string after second "," but need to know how many characters is in string because if i use directly SubString2 and cut after second "," and there is only one "," function will get error code so i need to know exactly how many "," is in the string.