Function starts_with

Source
pub fn starts_with(This: This<Arc<String>>, prefix: Arc<String>) -> bool
Expand description

Returns true if a string starts with another string.

ยงExample

"abc".startsWith("a") == true