Home
Random
Log in
Settings
About Rosetta Code
Disclaimers
Rosetta Code
Search
Reverse words in a string: Difference between revisions
Page
Discussion
← Older edit
Newer edit →
Reverse words in a string
(view source)
Revision as of 17:29, 6 July 2022
2 bytes removed
,
1 year ago
→{{header|Vlang}}
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>
Anonymous user
rosettacode>Goingtosleep