smith john 99999 96f
i would need to get the 99999 part. i could simply replace the space and put them into a array however, some people in the data im using have spaces in surnames so you then end up with and extra space. example:
al capone john 99999 96f
where 99999 used to be array[2] it is now array[3]
i could of course include a for loop to detect for integers but this would make for extremly messy code and if someting goes worng it could cause a lot of errors.
so i need something like this for instance
Expand|Select|Wrap|Line Numbers
- | TEXT | Value |
- smith john 99999 96f | 99999 |
- al capone john 99991 93g | 99991 |
so the user will not see the value of the iutem but will see the text.
it's similar to the way the value attribute works in html..
any ideas?
All help is greatly apprieceated :o)
Piercy