I have the following text string:
Rcpt Revsed as Remit Faild on 02/15/06. Orig Paym Detl -
PSON:BOB_23200937334 Orig Paymethd:DIR American Express C.Bnk:Credit Card
Bank Rtng#: Acct#:3732-xxxx-xxxx-xx5 Exp Date:09/30/06 Ptech mesg:Call Voice
Center.
What I want to do is an if statement that says
if the Acct # starts with a 3 label it as american express
if it starts with a 4 label it as a Visa
if it starts with a 5 label it as a Discover.
However, the only problem is that sometimes the account number appears in
the beginning of the text, sometimes at the middle and sometimes at the end.
Can someone help? Thanks.
--
Thanks for your help!
Walter
Bookmarks