Platforms to show: All Mac Windows Linux Cross-Platform

SplitMBS(value as String, delimiter as String = " ") as String()

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method String MBS DataTypes Plugin 16.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Splits string.
Example
dim a() as string = SplitMBS("Hello World Test", " ")
dim b() as string = SplitMBS("Grüße", "")
dim c() as string = SplitMBS("Just$test$a$test$test", "$test$")

break

Similar to the Split() function, but without the problems we see with Split function. See feedback cases for Split.

If delimiter is "", we return an array with all characters in string.
Else we split given string with delimiter.

Some examples using this global method:

Blog Entries

Xojo Developer Magazine

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


The biggest plugin in space...