StringBuilder.withString


Description:

public StringBuilder.withString (string s)

Constructs a StringBuilder with initial content.

Example:

    var sb = new StringBuilder.withString ("hello");
assert (sb.toString () == "hello");

Parameters:

s

the initial string content.