starts_with multimethod
Methods
- starts_with(haystack:Str, needle:Str) Source: stdlib.ngs:3396
Check whether a string starts with another string Returns
BoolExample
"abcd".starts_with("ab") # true "ab".starts_with("abcd") # false
"abcd".starts_with("ab") # true "ab".starts_with("abcd") # false