append

Summary

Inserts the specified text at the end of the string.

Usage

public string append(string end)

Returns

A new string value with the existing string text concatentated with the specified ending text.

Parameters

end

The text to insert at the end of the string.

Description

Inserts the specified text at the end of the string.

Examples

Basic Usage
1
2
3
import System;
 
Console.log("abc".append("def")); // "abcdef"

Share

HTML | BBCode | Direct Link