Platforms to show: All Mac Windows Linux Cross-Platform

Back to XMLCharacterDataMBS class.

XMLCharacterDataMBS.appendData(data as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Append the string to the end of the character data of the node.

Upon success, data provides access to the concatenation of data.

XMLCharacterDataMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The private constructor.

XMLCharacterDataMBS.deleteData(offset as Integer, count as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Remove a range of characters from the node.

Upon success, data and length reflect the change.

offset: The offset from which to remove characters. Zero based.
count: The number of characters to delete.

If the sum of offset and count exceeds length then all characters from offset to the end of the data are deleted.

XMLCharacterDataMBS.insertData(offset as Integer, data as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Insert a string at the specified character offset.

offset: The character offset at which to insert. Zero based.

XMLCharacterDataMBS.replaceData(offset as Integer, count as Integer, data as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Replace the characters starting at the specified character offset with the specified string.

offset: The offset from which to start replacing.
count: The number of characters to replace.

If the sum of offset and count exceeds length, then all characters to the end of the data are replaced (i.e., the effect is the same as a remove method call with the same range, followed by an append method invocation).

XMLCharacterDataMBS.substringData(offset as Integer, count as Integer) as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Extracts a range of data from the node.

offset: Start offset of substring to extract. Zero based.
count: The number of characters to extract.

The specified substring. If the sum of offset and count exceeds the length, then all characters to the end of the data are returned.

The items on this page are in the following plugins: MBS XML Plugin.


The biggest plugin in space...