how to acces variables when using "split"
Posted: 07 Apr 2013 14:51
how can acces these 3 variables ?
s = "variable1/variable2/variable3"
my_var = split(s, "/")
i have been looking in Java String Split Examples
i can see that my_var[0], my_var[1] and my_var[2] should represent my 3 variables
but it is not working, What is wrong ?
s = "variable1/variable2/variable3"
my_var = split(s, "/")
i have been looking in Java String Split Examples
i can see that my_var[0], my_var[1] and my_var[2] should represent my 3 variables
but it is not working, What is wrong ?