DH
Programmer
- Dec 8, 2000
- 168
I am not to familar with JavaScript and would like to:
1.) test if a string ends with a semicolon ;
2.) if string ends in semicolon ; then remove the semicolon ;
Original String:
email1@domain.com; email2@domain.com;
I would like to end up with the following string:
email1@domain.com; email2@domain.com
Does anyone have an example or source code they could post.
Thank you!
DH
1.) test if a string ends with a semicolon ;
2.) if string ends in semicolon ; then remove the semicolon ;
Original String:
email1@domain.com; email2@domain.com;
I would like to end up with the following string:
email1@domain.com; email2@domain.com
Does anyone have an example or source code they could post.
Thank you!
DH