Strings.StrReverse(String) Yöntem
Tanım
Belirtilen dizenin karakter sırasının tersine döndürüldüğü bir dize döndürür.Returns a string in which the character order of a specified string is reversed.
public:
static System::String ^ StrReverse(System::String ^ Expression);
public static string StrReverse (string? Expression);
public static string StrReverse (string Expression);
static member StrReverse : string -> string
Public Function StrReverse (Expression As String) As String
Parametreler
- Expression
- String
Gereklidir.Required. Karakterleri tersine çevrilen dize ifadesi.String expression whose characters are to be reversed. ExpressionSıfır uzunluklu bir dizeyse (""), sıfır uzunluklu bir dize döndürülür.If Expression is a zero-length string (""), a zero-length string is returned.
Döndürülenler
Belirtilen dizenin karakter sırasının tersine döndürüldüğü bir dize.A string in which the character order of a specified string is reversed.
Örnekler
Dim testString As String = "ABCDEFG"
' Returns "GFEDCBA".
Dim revString As String = StrReverse(testString)
Açıklamalar
StrReverseİşlevi, ile aynı karakterleri içeren bir dize döndürür Expression , ancak ters sırada.The StrReverse function returns a string that contains the same characters as Expression, but in the opposite order.