Platforms to show: All Mac Windows Linux Cross-Platform
Back to JavaStringMBS class.
JavaStringMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java | MBS Java Plugin | 15.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
JavaStringMBS.CopyString as string Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java | MBS Java Plugin | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns "" on any error. The string returned is marked as being Unicode (16bit).
Deprecated in favor of StringValue property and auto conversion with Operator_Convert.
See also:
JavaStringMBS.CopyString(start as Integer, len as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java | MBS Java Plugin | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns "" on any error. The string returned is marked as being Unicode (16bit).
For the first character to be the start use start=0.
For the first character to be the end use len=1 and start=0.
May crash on bad values for start and len.
See also:
JavaStringMBS.CopyStringUTF as string Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java | MBS Java Plugin | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns "" on any error. The string returned is marked as being UTF8.
Deprecated in favor of StringValue property and auto conversion with Operator_Convert.
See also:
JavaStringMBS.CopyStringUTF(start as Integer, len as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java | MBS Java Plugin | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns "" on any error. The string returned is marked as being UTF8.
Start is 0 based.
May crash on bad values for start and len.
See also:
Some examples using this method:
JavaStringMBS.Operator_Convert as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java | MBS Java Plugin | 19.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Do not call it, just assign JavaStringMBS to a string an Xojo calls this internally.
JavaStringMBS.UTFLength as Integer Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java | MBS Java Plugin | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns 0 on any error.
The items on this page are in the following plugins: MBS Java Plugin.