Hello, I am sending a value from an input form to a database/e-mail processing page which works fine, but I need to parse the value:
TEST,TEST2
What I need to do is before the value even submits, parse out the text before the first comma, along with the comma itself, so I am left with:
TEST2
I've been playing around with string functions but can't seem to get me head around it. If someone could show me how to do it I would sure appreciate it.
Thanks in advance,
CB
TEST,TEST2
What I need to do is before the value even submits, parse out the text before the first comma, along with the comma itself, so I am left with:
TEST2
I've been playing around with string functions but can't seem to get me head around it. If someone could show me how to do it I would sure appreciate it.
Thanks in advance,
CB