目录

StrReverse

StrReverse函数反转指定的字符串。

语法 (Syntax)

StrReverse(string) 

例子 (Example)

添加按钮并添加以下功能。

Private Sub Constant_demo_Click()
   msgbox("Line 1 : " & StrReverse("VBSCRIPT"))
   msgbox("Line 2 : " & StrReverse("My First VBScript"))
   msgbox("Line 3 : " & StrReverse("123.45"))
End Sub

执行上述功能时,会产生以下输出。

Line 1 : TPIRCSBV
Line 2 : tpircSBV tsriF yM
Line 3 : 54.321
↑回到顶部↑
WIKI教程 @2018