valueOf

Summary

Returns the primitive string value wrapped by the System.String object.

Usage

public string valueOf()

Returns

The primitive string value wrapped by the System.String object.

Description

Returns the primitive string value wrapped by the System.String object.

Examples

Basic Usage
1
2
3
4
import System;
 
System.String s = new System.String("abc");
Console.log(s.valueOf()); // "abc"

Share

HTML | BBCode | Direct Link