OCLOperators regExpSplit
(Created page with "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: {| class="wikitable" |dskjfkjsd |- |sd |- |kfkl |- |sdl |- |fkjf |- |ds |} See also Documentation:OCLOperators_regExpMatch")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
|-
|-
|ds
|ds
|}
('ReadyForSpaceAndTurnItReadebleText').regExpSplit( '(?<!^)(?=[A-Z][a-z]|(?<=[a-z])[A-Z])')->asSeparatedList(' ')
{| class="wikitable"
|Ready For Space And Turn It Readeble Text
|}
|}
See also [[Documentation:OCLOperators_regExpMatch]]
See also [[Documentation:OCLOperators_regExpMatch]]

Latest revision as of 08:33, 19 March 2025

This page was created by Hans.karlsen@mdriven.net on 2025-02-19. Last edited by Hans.karlsen@mdriven.net 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