Free cookie consent management tool by TermsFeed substitute() Function
substitute() Function

Function

substitute( text, find, replace_with )

Substitutes a specific part of a string with another string.

Parameters

Keyword Type Description

text

Text

The string to be modified.

find

Text

The part of the string that will be replaced.

replace_with

Text

The replacement substring.

Returns

Text

Examples

substitute("hello world","hello","my") returns my world

Open in Github Built: Fri, Nov 10, 2023 (03:42:48 PM)

substitute() Function

FEEDBACK