Home
Random
Log in
Settings
About Rosetta Code
Disclaimers
Rosetta Code
Search
Reverse words in a string: Difference between revisions
Language
Watch
View source
← Older edit
Newer edit →
Content deleted
Content added
Revision as of 17:22, 6 July 2022
view source
rosettacode>Goingtosleep
→{{header|Vlang}}
← Older edit
Revision as of 17:29, 6 July 2022
view source
rosettacode>Goingtosleep
→{{header|Vlang}}
Newer edit →
Line 4,050:
println(
n.map(
it.
split
fields
(
' '
).reverse().join(' ').trim_space()
).join('\n')
)</lang>