VBScript StrReverse 函数

定义和用法

StrReverse 函数可反转一个字符串。

语法

StrReverse(string)
参数 描述
string 必需的。需被反转的字符串。

实例

例子 1

dim txt
txt="This is a beautiful day!"
document.write(StrReverse(txt))

输出:

!yad lufituaeb a si sihT
系统帮助 | 给我留言 | 收藏本站
Copyright © 2005-2008 www.cnn84.com All Rights Reserved Ver:2.0
CNN84网是公益性便民网站,是为了给大家的日常生活查询及提供最快捷的出行指南