Titanium.XML.CharacterData.substringData

Platform Since
Android 0.9
iPhone 0.9
iPad 0.9

Summary

Extracts a range of data from the node. Throws an exception if offset is negative, offset is beyond the data's length, or if count is negative.

Arguments

Name Type Summary
offset Number

Start offset of substring to extract.

count Number

The number of characters units to extract.

Return Type

String