🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators regExpSplit
This page was created by Hans.karlsen on 2025-02-19. Last edited by Hans.karlsen on 2025-03-19.

RegExpSplit is versatile to find places to split a string

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

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

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments