reverse函数反转字符串 Delphi有没有自带的字符串反转函数?
Delphi有没有自带的字符串反转函数?Delphi的strutils单元提供了多个字符串处理函数,其中reversestring函数是字符串反转函数,其函数原型定义如下:function rever
Delphi有没有自带的字符串反转函数?
Delphi的strutils单元提供了多个字符串处理函数,其中reversestring函数是字符串反转函数,其函数原型定义如下:
function reversestring(const atext:String):String
示例代码运行截图:
Java如何反转字符串?
new StringBuilder(“Hello”)。反转();