starts_with

Function starts_with 

Source
pub fn starts_with(text: string, pattern: string) -> bool
Expand description

Tells if string starts with a pattern.