Here is a good one..
I have an array filled with individual strings, the strings are something like this... A1D-WS-2346-78 and I would like to make the string like this A1DWS234678. Please be aware that the hyphens are in variable places and there are a variable number of hyphens.
My ultimate aim is to compare two strings, call one the master and one the subject. The master is the one above, it contains a lot of information about a part, however the subject also contains the same information but only part of it, I need to compare the subject to every one of the master strings and find out if it appears anywhere within the master string...
both ave hyphens but if i can remove the hyphens from both ten I can do a strait text comparison...
One step at a time, I am trying to remove the hyphens and then I wil try and tackle the comparison, but any help on that would be very... and i mean very greatfuly recieved!!
Cheers
Ed
PS, talk about summing diagonally.... this one hads gotta take the biscuit!! arrgghh
I have an array filled with individual strings, the strings are something like this... A1D-WS-2346-78 and I would like to make the string like this A1DWS234678. Please be aware that the hyphens are in variable places and there are a variable number of hyphens.
My ultimate aim is to compare two strings, call one the master and one the subject. The master is the one above, it contains a lot of information about a part, however the subject also contains the same information but only part of it, I need to compare the subject to every one of the master strings and find out if it appears anywhere within the master string...
both ave hyphens but if i can remove the hyphens from both ten I can do a strait text comparison...
One step at a time, I am trying to remove the hyphens and then I wil try and tackle the comparison, but any help on that would be very... and i mean very greatfuly recieved!!
Cheers
Ed
PS, talk about summing diagonally.... this one hads gotta take the biscuit!! arrgghh