The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Strings::StrReverse Method (String^)
.NET Framework (current version)
Returns a string in which the character order of a specified string is reversed.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Parameters
- Expression
-
Type:
System::String^
Required. String expression whose characters are to be reversed. If Expression is a zero-length string (""), a zero-length string is returned.
Return Value
Type: System::String^Returns a string in which the character order of a specified string is reversed.
The StrReverse function returns a string that contains the same characters as Expression, but in the opposite order.
Dim TestString As String = "ABCDEFG" ' Returns "GFEDCBA". Dim revString As String = StrReverse(TestString)
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Available since 1.1
Silverlight
Available since 2.0
Show: