Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Format

From Catglobe Wiki
Revision as of 09:33, 1 June 2017 by Nguyenduyan (talk | contribs) (Created page with "Category:String_Functions {{HelpFiles}} ====format==== Format the first parameter with the other parameters given and append to current string '''Syntax''' format("...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



format

Format the first parameter with the other parameters given and append to current string

Syntax

format("{0}", param);

Arguments

param: any type

Return type

string

Examples

string firstName = "A";
string middleName = "Van";
string lastName = "Nguyen";
string fullName = format("My name is {0} {1} {2}", firstName, middleName, lastName);//My name is A Van Nguyen

Availability

From June 2017

Contents