Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

SQLStringMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class SQL MBS SQL Plugin 9.3 Yes Yes Yes Yes No
Function: The class for strings in this plugin.
dim s as new SQLStringMBS("Hello äöü")

MsgBox "Characters: "+str(s.GetLength)+" Bytes: "+str(s.GetBinaryLength)

dim a as string= s.CopyBinaryData
dim b as string= s.CopyText

MsgBox a // RB shows garbage as it tries to display bytes as UTF8 which does not work
MsgBox b // displays correct
Notes: A string can be text (with text encoding) or bytes (raw binary data).

Feedback, Comments & Corrections

Sub classes:

Some methods using this class:

Some examples which use this class:

Blog Entries

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

SQLPreparedStatementMBS   -   SQLUnsupportedExceptionMBS

The biggest plugin in space...

MBS Xojo tutorial videos