Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

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 REALbasic string.
Notes: Returns "" on any error. The string returned is marked as being Unicode (16bit).

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 REALbasic 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 REALbasic string.
Notes: Returns "" on any error. The string returned is marked as being UTF8.

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 REALbasic 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.Length 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 this string in unicode characters.
Notes: Returns 0 on any error.

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.
Notes: Returns 0 on any error.

Feedback, Comments & Corrections

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





Links
MBS Xojo PDF Plugins