Good afternoon.
I have a list of telephone numbers and types all contained within the same string. What I'd like to do is to parse the data out at each instance of 'TEL:' into separate columns. Each column should contain 'TEL;' and all the characters to the beginning of the next "TEL;"
I've been doing some reading on scan but can't seem to get it to work correctly. I cannot get the array to work correctly and keep getting empty columns.
I'd sure appreciate any help anyone could give me.
Thank you.
TEL;TYPE=home,voice,pref:(XXX) XXX-XXXX
TEL;TYPE=home,voice,pref:(XXX) XXX-XXXX
TEL;TYPE=cell,voice,pref:+1 (XXX) XXX-XXXX
TEL;TYPE=work,voice,pref:XXX-XXX-XXXX,TEL;TYPE=work,voice:(XXX) XXX-XXXX,TEL;TYPE=home,voice:(XXX) XXX-XXXX,TEL;TYPE=cell,voice:(XXX) XXX-XXXX,TEL;TYPE=pager:(XXX) XXX-XXXX
TEL;TYPE=work,voice,pref:XXX-XXX-XXXX,TEL;TYPE=work,voice:(XXX) XXX-XXXX,TEL;TYPE=home,voice:(XXX) XXX-XXXX,TEL;TYPE=cell,voice:(XXX) XXX-XXXX,TEL;TYPE=pager:(XXX) XXX-XXXX
TEL;TYPE=work,voice,pref:(XXX) XXX-XXXX
TEL;TYPE=work,voice,pref:(XXX) XXX-XXXX
TEL;TYPE=work,voice,pref:(XXX) XXX-XXXX
TEL;TYPE=work,voice,pref:(XXX) XXX-XXXX
TEL;TYPE=cell,voice,pref:+XXXXXXXXXXX
TEL;TYPE=cell,voice,pref:+XXXXXXXXXXX
TEL;TYPE=work,voice,pref:(XXX) XXX-XXXX,TEL;TYPE=work,voice:XXXXXXXXXX
TEL;TYPE=work,voice,pref:(XXX) XXX-XXXX,TEL;TYPE=work,voice:XXXXXXXXXX
TEL;TYPE=work,voice,pref:(XXX) XXX-XXXX
TEL;TYPE=work,voice,pref:(XXX) XXX-XXXX
... View more