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 |
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 |
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 |
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 |
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 |
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 |
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.