I'm trying to save the symbols a delete the company names. I've tried a few things in vb, but I'm better with php. Anyone have an idea how i could delete the company names along with the comma in lines link this?
A,AGILENT TECHNOLOGIES INC
AA,ALCOA INC
AAC,ARCADIA FINL LTD
AAE,AMDOCS AUTOMATIC COM EXCHANG
AAG,AMERICAN ANNUITY GROUP INC
AAG PT,AMERICAN ANNUITY GRP CAP TR
AAM,AAMES FINL CORP
AAP,AMWAY ASIA PACIFIC LTD
AAR,AMR CORP DEL
AAS,AMERISOURCE HEALTH CORP
AAT,ALL AMERN TERM TR INC
so the line: AAM,AAMES FINL CORP
would end up being: AAM
Any info or sample code would be greatly appreciated. I've played with string manipulation before, but i'm confused as to how i could say, "delete the comma and everything after it in each line."