Titanium.Blob

Properties

length
The number of bytes in this blob

Methods

byteAt ( index )
Return the character code (or byte value) at the given index in a Blob
charAt ( index )
Return a character representing a byte at the given index in a Blob
concat ( )
Concatenate multiple Blob and/or strings into one Blob
get ( )
Return a VoidPtr representation of a Blob
indexOf ( needle )
Return the index of a String within this Blob
lastIndexOf ( needle )
Return the last index of a String within this Blob
split ( delimiter, limit )
Split a blob as if it were a string given a delimiter. This method returns empty matches. For instance:
"abc,def,,".split(",") --> ['abc', 'def', '', '']
substr ( startIndex, length )
Return a substring of a Blob given a start index and a length If no length is given, all characters from the start to the end of the string are returned.
substring ( startIndex, endIndex )
Return a substring of a Blob given a start index and end index If no end index is given, return all characters from the start index to the end of the string. If startIndex > endIndex, the indexes are swapped.
toLowerCase ( )
Convert characters in the Blob to lower case as if it were a string.
toString ( )
Return a string representation of a blob
toUpperCase ( )
Convert characters in the Blob to upper case as if it were a string.

Objects

No objects.

Last Modified on July 7, 2009, 05:07 AM by Jeff Haynie Edit | History