Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |starts_with

std/text/compare::|starts_with


Usage

|starts_with(text, pattern)

Parameters

↳ text: string
↳ pattern: string

Return

bool


Tells if string starts with a pattern.