×

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 (Optional)#>, caseSensitive: <#Boolean (Optional)#>)

Example

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