Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Search and Replace String 1.0
Author: Kory Roberts
| Website: http://www.k2w.f2s.com/ |
The Basics Part 1
For simplicity's sake, let's first take a look at the function like this:
function searchandreplace (the_string, search_string, replace_string, occurrences, backward) {
magic happens!
return the_string;
}
The function is called searchandreplace. The variables in parentheses are called arguments. This function can take a minimum of 3 arguments and a maximum of 5 arguments (occurrences and backward are optional).
| » Level Advanced |
|
|
Added: : 2001-01-08
Rating: 7.79 Votes: 39
Hits: 1092
|
| » Author |
|
Kory Roberts is a part-time Flash developer. He is the author of ScoreKeeper and has experience integrating Flash with other scripting languages, such as Perl/CGI and PHP.
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (11 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|