On Jul 6, 2009, at 2:09 PM, Israel Thompson wrote:



How can I remove the trailing "&" from a string I'm concatenating to go in a
URL?


if, for example, your string is in a variable called yourString. you could do this:

yourString.replace(/&$/,'')

--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com


Reply via email to