Class Index | File Index

Classes


Built-In Namespace String

Method Summary
Method Attributes Method Name and Description
<static>  
String.fromBuffer(buffer)
turns a buffer object into a string.
 
leftPad(length, character)
fills the string with character to the left, until it reaches the desired length.
 
repeat(count)
extensions for strings
 
rightPad(length, character)
fills the string with character to the right, until it reaches the desired length.
Method Detail
<static> {String} String.fromBuffer(buffer)
turns a buffer object into a string.
Defined in: String.js.
Parameters:
buffer
Returns:
{String}

{String} leftPad(length, character)
fills the string with character to the left, until it reaches the desired length.
if string.length is already >= length, the unmodified string will be returned.
Defined in: String.js.
Parameters:
length
character
Returns:
{String}

repeat(count)
extensions for strings
Defined in: String.js.
Author: Markus Sch�tz.
Parameters:
count

{String} rightPad(length, character)
fills the string with character to the right, until it reaches the desired length.
if string.length is already >= length, the unmodified string will be returned.
Defined in: String.js.
Parameters:
length
character
Returns:
{String}

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Jun 09 2013 12:38:12 GMT+0200 (CEST)