Web
Expertsforge
Home
FREE Signup
Login
Search
Advertise
Link to Us
Contact Us
Help
Login:
Home
» Categories |
Web Development
»
JavaScript
» View Tutorial
JavaScript Tutorial: Replace in Javascript
jawahar
3/26/2007 7:01:59 AM, Views: 2728
stringObject.replace(findstring,newstring)
The following code can be used to replace a string with a new string.
<script type="text/javascript">
var str="Javascript Replace function Demo"
document.write(str.replace("Replace", "Replace()"))
</script>
Next Steps:
Add this Tutorial to:
Blink
Del.icio.us
Digg
Fark
Furl
Google
Reddit
Simpy
Spurl
Technorati
Win Live
Yahoo
Rate Me!
Avg Visitor Rating:
Number of Ratings : 3 Votes
Rate:
Select Your Rating
Excellent!
Very Good
Good
Fair
Poor
Send Message
Signup
/
Login
To View the Solution or Provide Comments
Post Comment/Solution
Comment:*
(Link Rules)
Use :
[bold] for <b>; [/bold] for </b>; [italic] for <i>; [/italic] for </i>; [code] & [/code] for code
Categories
Applications
Operating Systems
Databases
Programming
Web Development
Networking
Security
Hardware
Search Engine Optimization
Make Money Online
Miscellaneous
Options
Submit a Tutorial
Ask a Question
Add to KB
Join as a Moderator?
Most Popular Tutorial
1.
InStr in JavaScript
2.
Mid() function in Ja...
3.
Validating a text bo...
4.
Javascript Input Box...
5.
Capturing Mouse Posi...
6.
Setting IFRAME heigh...
7.
Left() function in J...
8.
JavaScript Trim Func...
9.
Dynamically create/a...
10.
Creating floating me...
Most Popular Solution
1.
How to reload a fram...
Top Rated
1.
InStr in JavaScript
2.
Mid() function in Ja...
3.
Javascript Input Box...
4.
Creating a Message B...
5.
Capturing Mouse Posi...
6.
Validating a text bo...
7.
Dynamically changing...
8.
JavaScript Trim Func...
9.
Setting IFRAME heigh...
10.
Dynamically create/a...
Top Contributors
Yearly
Overall
1.
jawahar
(300)
1.
jawahar
(1500)
FREE Signup
Advertise
Link to Us
Contact Us
Sitemap
Tutorial Sitemap
About Us
Privacy Policy
Copyright 2004 - 2008 Expertsforge.com