Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

VBScript StrReverse Function

Returns a string in which the character order of a specified string is reversed.

Syntax: VBScript StrReverse Function

StrReverse(string1)

Arguments: VBScript StrReverse Function

string1

The string whose characters are to be reversed. If string1 is a zero-length string (""), a zero-length string is returned. If string1 is Null, an error occurs.

Remarks: VBScript StrReverse Function

The following example uses the StrReverse function to return a string in reverse order:

Dim MyStr

MyStr = StrReverse("VBScript") ' MyStr contains "tpircSBV".

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.