Berserk Docs
Scalar FunctionsString Functions

trim_start

Removes leading match of the specified regex from the source string.

Syntax

trim_start(regex, source)

Parameters

Prop

Type

Returns: string

Examples

Example 1

print trim_start(">>", ">>Floki the Shipbuilder")
print_0 (string)
Floki the Shipbuilder

On this page