Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Text.SplitByLength

Split the text by length and returns a list.

Component Version macOS Windows Linux Server iOS SDK
Text 15.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Text.SplitByLength"; Text { ; Length } )   More

Parameters

Parameter Description Example Flags
Text The text to split. "Hello World"
Length The block length.
Defaults to 1.
2 Optional

Result

Returns list or error.

Description

Split the text by length and returns a list.

Examples

Split to list with one character:

MBS( "Text.SplitByLength"; "Hello World"; 1)

Example result:
H
e
l
l
o

W
o
r
l
d

Split with three characters:

MBS( "Text.SplitByLength"; "Hello World"; 3)

Example result:
Hel
lo
Wor
ld

Release notes

Blog Entries

This function checks for a license.

Created 12nd February 2025, last changed 12nd February 2025


Text.SoundExGerman - Text.Styles