Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

StringHandleMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class String MBS DataTypes Plugin 3.1 Yes Yes Yes Yes No
Function: A class for attaching strings together very fast.
dim s as StringHandleMBS

s=new StringHandleMBS

// Add some text
s.Add "Hello"
s.Add " "
s.Add "World"

// Insert a string
s.Insert " great",6

// check it
MsgBox s.Copy

// Delete the great from above
s.Delete 6,7

// check
MsgBox s.Copy

// Insert again
s.Insert " great ",6

// check
MsgBox s.Copy

// Now we extract the middle, so it's deleted
MsgBox s.Extract(6,7)

// check again
MsgBox s.copy
Notes: The class initalized itself on the first use.

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:

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

StdoutMBS   -   StringHashSetIteratorMBS

MBS FileMaker Plugins