Berserk Docs
Scalar FunctionsString Functions

replace_string

Replaces all occurrences of a string with another string.

Syntax

replace_string(source, lookup, rewrite)

Parameters

Prop

Type

Returns: string

Examples

Example 1

print replace_string("Sail to Lindisfarne", "Lindisfarne", "Paris")
print_0 (string)
Sail to Paris

On this page