strReplace()
Purpose
Used to find a string within another and replace it.
Description
Receives three strings, a string to search, a string to search for, and string to replace the found string with.
Syntax
newString = strFind( stringVar, to_find, replace )
Arguments
newString Newly created string with the replacement
stringVar The string being checked
to_find The search target
replace The string to replace with
Example
stringVar = "FUSE"
to_find = "S"
replace = "Z"
newString = strFind( stringVar, to_find, replace )
print( newString )
update()
sleep(3)
Associated Commands
str(), strBeginsWith(), strContains(), strEndsWith(), strFind(), stringHash()