Visit Mozilla.org

nsAString:Cut

From MDC

« XPCOM API Reference

[edit] Summary

The Cut function removes a section of the string's internal buffer.

 void Cut(
   index_type aCutStart,
   index_type aCutLength
 );

[edit] Parameters

aCutStart
[in] The starting index of the section to remove, measured in storage units.
aCutLength
[in] The length of the section to remove, measured in storage units.