RosettaCodeData/Task/Reverse-a-string/Apex/reverse-a-string-1.apex
2016-12-05 23:44:36 +01:00

3 lines
69 B
Text

String str = 'Hello World!';
str = str.reverse();
system.debug(str);