🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
OCLOperators regExpSplit

RegExpSplit is versatile for finding places to split a string

'dskjfkjsd sd;kfkl sdl,fkjf ds'.regExpSplit( '[,\s;]+' )   -- will split on ;, , and spaces

Result:
dskjfkjsd
sd
kfkl
sdl
fkjf
ds
('ReadyForSpaceAndTurnItReadebleText').regExpSplit( '(?<!^)(?=[A-Z][a-z]|(?<=[a-z])[A-Z])')->asSeparatedList(' ')
Ready For Space And Turn It Readeble Text

See also Documentation:OCLOperators_regExpMatch