reverse

Summary

Reverses the string.

Usage

public string reverse()

Returns

A new string with all of the characters of the original string sequentially reversed.

Description

Reverses the string.

Examples

Basic Usage
1
2
3
import System;
 
Console.log("abc".reverse()); // "cba"

Share

HTML | BBCode | Direct Link