Search code examples
regexmathmaple

Maple, regExp: How to parse "pn2 = -.433222082282652077" into "pn2" and "-0.433222082282652077"?


So I have a string

pn2 = -.433222082282652077 I need to parse it with reg exp into 2 strings (put values into 2 variables)

First A:

pn2

Second B:

-0.433222082282652077

How to do such thing with maple?


Solution

  • Why don't you try using Split? Use = as your separator: Split(str, "=")