prepend

Summary

Inserts the specified text to the beginning of the string.

Usage

public string prepend(string beginning)

Returns

A new string value with whe specified beginning text concatenated with the existing string text.

Parameters

beginning

The text to insert at the beginning of the string.

Description

Inserts the specified text to the beginning of the string.

Examples

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

Share

HTML | BBCode | Direct Link