![]() |
|
|
+ Search |
![]()
|
Oct 12th, 2001 02:09
Jean-Bernard Valentaten, paul smith,
Well, you can use a regular expression (RegExp) and the method replace (). It should work like this: var world; world = "red hat server" world = world.replace(/\s/, "+") where /\s/ means any whitespace, so be carefull. HTH