Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

JavaStringMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 15.1 Yes Yes Yes Yes No
Function: The private constructor.

Feedback, Comments & Corrections

JavaStringMBS.CopyString as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Copies the content of the string into a Xojo string.
This item is deprecated and should no longer be used. You can use StringValue instead.
Notes:
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:

Feedback, Comments & Corrections

JavaStringMBS.CopyString(start as Integer, len as Integer) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Copies the content of the string into a Xojo string.
Example:
dim s as string
dim js as JavaStringMBS // your java string

s=js.CopyString(0,1) // copies first character
s=js.CopyString(3,6) // copies six charcters from starting at the forth
Notes:
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:

Feedback, Comments & Corrections

JavaStringMBS.CopyStringUTF as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Copies the content of the string into a Xojo string.
This item is deprecated and should no longer be used. You can use StringValue instead.
Notes:
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:

Feedback, Comments & Corrections

JavaStringMBS.CopyStringUTF(start as Integer, len as Integer) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: Copies the content of the string into a Xojo string.
Notes:
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:

Feedback, Comments & Corrections

JavaStringMBS.Operator_Convert as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 19.4 Yes Yes Yes Yes No
Function: Converts to a string automatically.
Notes: Do not call it, just assign JavaStringMBS to a string an Xojo calls this internally.

Feedback, Comments & Corrections

JavaStringMBS.UTFLength as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java MBS Java Plugin 4.3 Yes Yes Yes Yes No
Function: The length of the string in bytes encoded as UTF8.
This item is deprecated and should no longer be used. You can use StringValue instead.
Notes: Returns 0 on any error.

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo Chart Plugins