How to split a string in OB2

How to split a string in OB2 like the mail i have for example [email protected] and I only want to get abc part from the email. There exist a split function but that doesn’t provide the require result

I found the solution outputString[0] would give your abc

You can do this:

BLOCK:Parse
LABEL:USER
  input = @input.USER
  rightDelim = "@"
  MODE:LR
  => VAR @USER
ENDBLOCK

image