regex.split and chr(10)

pappicio

Active Member
Licensed User
Longtime User
Hi all, I'm tryng to split a string that contains "0xA" rnlines, but if I save it on a fiel and then use file.readlist, all works, but if I try to directly use regex.split(chr(10), string), nothing appen, no split on it.....
 

pappicio

Active Member
Licensed User
Longtime User
this is the command:

dim s as string= j.execRootCmd("/system/bin/netcfg")

using b4arootcmd library
s, conatins all interfaces, and I need to split them.....

I think is a library bug.....
edit:
yes, is a library bug.... if I save on txt file then it saves line x line, if I retrieve all command on a string var, then no lines, but only a string, I obtain, without "\n" end-line.....
thanks for your answer Erel!
 
Last edited:
Upvote 0
Top