A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how can we get backslash-dot in string
Joined: Jan 03, 2004
May 28, 2007 07:34:00
I just need to replace the dot in
"*.*" to get result "*\.*"
Following is the statement I am tryin to use
Tried other versions as well
etc etc. None of which get me the desired result.
Can anybody please tell me a way to do this.
Joined: Nov 08, 2001
May 28, 2007 07:51:00
<script> alert("*.*".replace(/\./gi,'\\.')); </script>
I agree. Here's the link:
subject: how can we get backslash-dot in string
Need Xalan Help
new option() and &
how do i restrict HTML tags in textarea
Xalan Question and some advice
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014