cheesyman5k
Programmer
I have a string with pipes as in the following that I need to extract multiple pieces of data from.
12345|1600 Pennsylvania|09999|01876|2125559999
it contains an id, address, second id, zipcode and lastly telephone number
but sometimes the value is like this
'|||01876|2125559999'
and i need to extract the zipcode only
i am having a hard time with this, thanks in advance
12345|1600 Pennsylvania|09999|01876|2125559999
it contains an id, address, second id, zipcode and lastly telephone number
but sometimes the value is like this
'|||01876|2125559999'
and i need to extract the zipcode only
i am having a hard time with this, thanks in advance