On Jul 6, 2009, at 2:23 PM, Israel Thompson wrote:
> Sorry, for posting here.. something seems to be wrong with my post
> being
> accepted in the Jquery list...
>
> What's the easiest way to remove the trailing "&" from a string in
> Jquery?
If the string is a JavaScript variable named str, this code should work:
str.replace(/&$/,"");
-Brad
--
This list is a free service of LassoSoft:
http://www.LassoSoft.com/Search the list archives:
http://www.ListSearch.com/Lasso/Browse/Manage your subscription:
http://www.ListSearch.com/Lasso/