Camel case and snake case: Difference between revisions

Content added Content deleted
m (remove draft tag)
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
Line 1,516: Line 1,516:
c://my-docs/happy_Flag-Day/12.doc ==> c://my-docs/happy_Flag-Day/12.doc
c://my-docs/happy_Flag-Day/12.doc ==> c://my-docs/happy_Flag-Day/12.doc
spaces ==> spaces</pre>
spaces ==> spaces</pre>
=={{header|Vlang}}==
=={{header|V (Vlang)}}==
{{trans|go}}
{{trans|go}}
<syntaxhighlight lang="vlang">fn to_camel(snake string) string {
<syntaxhighlight lang="v (vlang)">fn to_camel(snake string) string {
mut camel := ''
mut camel := ''
mut underscore := false
mut underscore := false
Line 1,568: Line 1,568:
{{out}}
{{out}}
<pre>Same as Go entry</pre>
<pre>Same as Go entry</pre>

=={{header|Wren}}==
=={{header|Wren}}==
{{libheader|Wren-str}}
{{libheader|Wren-str}}