...

View Full Version : help needed to separate this single string to 3



FLC
12-23-2004, 08:46 AM
108844390 A 499GH33


I have a single string like above and I would like to separate it to 3 strings,

I want it to be able to get something like this

108844390
A
499GH33

How do you do this using indexof() functions?

d11wtq
12-23-2004, 11:25 AM
parts = string.split(' ') //split at a space character
// so parts[0] = 108844390 and parts[1] = A and parts[2] = 499GH33



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum