0
How to find reverse of a substring
6 ответов
+ 1
depends on the language you want to use
0
for python:
'hello world'[::-1]
0
what about java
0
new StringBuilder("Hello world").reverse().toString()
0
or PHP:
string strrev ( string $string )
0
finally ruby:
$ a = "abc"
$ a.reverse!