Problem with Regex.Split() function

vinians

Member
Licensed User
Longtime User
I'm trying to split a string with "|" as separator, but instead of it it's returning a vector with all letters of string. What I need is the words! what is wrong?
sample code....

B4X:
dim Lista() as String
result  = Response.GetString("UTF8") 
Lista   = Regex.Split("|", result)
Sample string: "Joel|Maria|Eduardo"
Thanks!
 
Top