开发者

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

开发者 https://www.devze.com 2023-02-19 20:07 出处:网络
So I have a string pn2 = -.433222082282652077 I need to parse it with reg exp into 2 strings (put values into 2 variables)

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 w开发者_StackOverflow中文版ith maple?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消