我有一个标记值类型:脚本。我粘贴一个字符串,如:
ET-Powersupply OFF
prTimeBefore = '1' :(01,real, 'Time before [ms]' ,'0..100000');//Time before measurement
psDvcName = 'ETPS' :(02,string, 'Device name [str1;str2;...]' ,''); //
psSndCmd = 'ET1_STBY_OFF ; ET1_OUT_OFF' :(04,string, 'Send CmdStr/@cmd [str1;str2;..]' ,''); //CommandString in device-specific Lib or '@direct cmd'
prSndRec = '1' :(05,real, 'snd/rec/both [1/2/3]' ,'1..3');
是否可以在标记值value中自动获得此输出:
prTimeBefore = '1'; psDvcName = 'ETPS'; psDvcName = 'ETPS'; prSndRec = '1'
我知道我应该在'和=以及=之前的单词和' '中的值之后进行搜索
但是我怎样才能自动让标记值被解析呢?上图示例:
谢谢你!