# Replace
TIP
replace(<string>, <original>, <replace>)
- Searches for a specific string in a string, and replaces it with a new string.
# Parameters
<string>
The text to search in as string<original>
The text to replace as string<replace>
The new value to replace the original as string
# Example
1: $text$ = 'Hello world, I am Steve'
2: $new$ = replace($text$, 'Steve', 'Acsrel')
3: sendMessage($player$, $new$)
# Output
"Hello world, I am Acsrel"