Sign In

$replace[]

Replace text in a string

v1.0.0+ Requires Brackets

Usage

$replace[;;;]
Also callable as
$replaceText

Arguments

NameTypeRequiredDescription
text
StringYesThe base text
match
StringYesText to match in base
new value
StringYesThe text to replace matches with
amount
NumberNoHow many times to perform this replacement

Output

String

Was this page helpful?