pub fn starts_with(s: &str, prefix: &str) -> bool
Expand description
Returns true if the given string starts with the specified prefix.
ยงExample
query T
select starts_with('abcdef', 'abc');
----
t
query T
select 'abcdef' ^@ 'abc';
----
t
query T
select 'abcdef' ^@ some(array['x', 'a', 't']);
----
t