replace

Replace part of a string with another.

Parameters:

No. Type Comments
1 string Main string
2 string Old value
3 string New value

Returns:

string - Main string with the old value replaced with the new value.

Usages:

  • replace( original : string, oldVal : string, newVal : string) : string