Next: substr

Prev: strlen

strsub

strsub(string, search, replace)
This function returns the result of replacing each occurrence of the string search in string with the string replace.

Examples:

strsub("foobar", "bar", "baz")
     => "foobaz"