[thelist] string replace with Javascript

Mark Howells mark at mountain.ch
Mon Jan 21 09:50:33 CST 2002


sentence=string.replace(sentence,"historical city of Lahore","beautiful 
city of Swat");

(From <http://docserver.userland.com/string/replace>)

Regards
Mark Howells
<http://www.mark.ac/evl>

Am Montag den, 21. Januar 2002, um 10:04, schrieb Syed Zeeshan Haider:

> [edited]
> var sentence="John went to the historical city of Lahore for spending 
> vacation."
> to
> sentence="John went to the beautiful city of Swat for spending 
> vacation."





More information about the thelist mailing list