Methods
starts_with
ΒΆ
starts_with(haystack:
Str
, needle:
Str
)
Check whether a string starts with another string
Source:
stdlib.ngs:2424
Returns
Bool
Example
"abcd".starts_with("ab") # true "ab".starts_with("abcd") # false