angelleynes
Programmer
Hello,
I need help on how to split strings?
example: "PAYOFF DEPARTMENT, 8001 N. Stemmons Fwy, Dallas, TX 75247"
what I want to do is to split them so that "PAYOFF DEPARTMENT" being the name, "8001 N. Stemmons Fwy" being the address, "Dallas" being the city, "TX" being the state and "75247" being the zip.
it would be nice to count for how many commas in the string and use it to split the string and when to print the next string..
thanks in advance!
I need help on how to split strings?
example: "PAYOFF DEPARTMENT, 8001 N. Stemmons Fwy, Dallas, TX 75247"
what I want to do is to split them so that "PAYOFF DEPARTMENT" being the name, "8001 N. Stemmons Fwy" being the address, "Dallas" being the city, "TX" being the state and "75247" being the zip.
it would be nice to count for how many commas in the string and use it to split the string and when to print the next string..
thanks in advance!