<-- Previous || Up || Next -->

Reverse String Function
String Manipulations Class

Public Function ReverseString( _
    ByVal vValue As Variant _
    ) As Variant

Reverse the characters within a string. "ABCDEF" becomes "FEDCBA", etc.

    ReverseString("ABC", 1) = "CBA"
See also:
    StrReverse Function (Visual Basic)
    ReverseEveryNCharacters Function
    SwapCharacters Function
    ReverseCharactersEveryWord Function
    IsPalindrome Function
vValue: The string whose characters are to be reversed. Function returns Null if vValue is Null or cannot be fixed up to a String.

v1.5 Note: The StrReverse function in Visual Basic 6.0 is similar to this function, except that Visual Basic's StrReverse function does not allow a Null argument.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.