String matching: Difference between revisions
Content added Content deleted
(Added Odin variant) |
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
||
Line 4,829: | Line 4,829: | ||
works the same as in VBA, see [[String_matching#VBA]] |
works the same as in VBA, see [[String_matching#VBA]] |
||
=={{header|Vlang}}== |
=={{header|V (Vlang)}}== |
||
{{trans|Delphi}} |
{{trans|Delphi}} |
||
<syntaxhighlight lang="vlang">fn main() { |
<syntaxhighlight lang="v (vlang)">fn main() { |
||
str := 'abcd' |
str := 'abcd' |
||
println(str.starts_with('ab')) // True |
println(str.starts_with('ab')) // True |