string class : Reverse() method

Description

Gets a new string in which the character order of a invoker string is reversed.

Syntax

stringInstance.Reverse()

Arguments

None

Return value

ClassDescription
stringA new string in which the character order of a invoker string is reversed.

Sample code

//anyString is a instance of string type.

string reversedString = anyString.Replace();

Notes

It's a wrapper of the Microsoft.VisualBasic.Strings.StrReverse(String).

Links for reference

Copyright © Rice All rights reserved.