SimpleScript

Documentation - S.string_replace

Description

Allows you to replace all instances of a string inside of a string with a new string (say that ten times fast).

Parameters

old

String of content to find in the string to be replaced.

new

String that will replace the first parameter when found in the content

string

String of content to check against.

Changelog

Examples

Normal

v.string=s.string_replace("dogs","cats","I have 2 dogs.")

Will return: I have 2 cats.