×

Replace Text

iOS 14 +

Notes

Replaces text based on the parameters.

Syntax

replaceText(input: <#String (Allows Variables)#>, find: <#String (Allows Variables)#>, replace: <#String (Allows Variables)#>, isRegex: <#Boolean#>, caseSensitive: <#Boolean#>)

Example

replaceText(input: "Hello World!", find: "Hello", replace: "Hey", isRegex: false, caseSensitive: true)