SyntaxFix
Write A Post
Hire A Developer
Questions
Try:
def (value1, value2) = '1128-2'.tokenize( '-' )