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!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…