Hi All
I have a string coming in on a variable which has 2 fields separated by a comma
I have tried this code which I thought should work but does not.
Any ideas please
Thank you
I have a string coming in on a variable which has 2 fields separated by a comma
I have tried this code which I thought should work but does not.
Any ideas please
Thank you
B4X:
Log(PayLoadStr.IndexOf(","))
Log(PayLoadStr.SubString2(0,((PayLoadStr.IndexOf(",")-1))))
Log(PayLoadStr.SubString2((PayLoadStr.IndexOf(",")+1),(PayLoadStr.Length)))