<jQuery>.scf.string

Release 1.1 - ...

build()

Returns a stringbuilder object used for fast string concatenation.

Usage:

Javascript CopyCode image Copy Code
var s = $j.scf.string.build();

The StringBuilder class has the following members:

add(String data)

Adds a string to the object.

Usage:

Javascript CopyCode image Copy Code
var s = $j.scf.string.build();
s.add("Hi there!");
s.add(" This is a StringBuilder object.");
alert(s.toString());

addLine(String data)

Adds a string and appends a new line character.

toString()

Returns the current string representation of the object.