Split a character string based on change of character: Difference between revisions
Split a character string based on change of character (view source)
Revision as of 10:56, 16 October 2022
, 1 year ago→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)"
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
|||
Line 2,667:
<pre>g, HHH, 5, YY, ++, ///, \</pre>
=={{header|V (Vlang)}}==
<syntaxhighlight lang="v (vlang)">fn main() {
println(splitter('gHHH5YY++///\\')) \\ The "\" character needs to be escaped.
}
|