[Gambas-user] Split Strings

Marcus Moeller m.moeller at ...1299...
Sat Jan 7 17:12:52 CET 2006


Hi Gambas Users,

I have got an array containing some string in the following format:

IPADDR[0]="192.168.1.10" 
NETMASK[0]="255.255.255.0"
IPADDR[1]="192.168.10.16"
NETMASK[1]="255.255.255.248"
...


I need to isolete the number within [] and transform it to an integer 
variable. Can I use the split command or do I have do use regexp

Best Regards
Marcus




More information about the User mailing list