從文字中提取值你好,
是否可以使用 JMP 公式從下面的文字中提取550值,然後將其嵌入到腳本中。字元的整體形狀和數量將會變化,但std Pli =的表達式將保持不變。
任何幫助將不勝感激。
謝謝,
湯瑪斯
PP、PPr(不要忘記測量標準晶圓SMM PPr WAL S0782-3、“Redarect PPr new”配方(僅限WE9LDIP))和UVX 全部(重定向),並在單擊值上運行以獲取不匹配信息、最終PP
標準 Pli = 550平均值 1 = … (運行/標準 = >5.00) 100 / 120 = 0.8333
僅顯示器上的 DOD 輕按和底部。
資料混合與清理品質和工藝工程回复:從文本中提取值你好,
您可以為此使用JMP的字符串操作。 繼續閱讀Contains(),Munger(),Substr(),Word(),Words(),Right(),Left()等。在這裡,我使用了munger並包含要隔離的數字。 num()函數將找到的字符串“ 550”更改為數字550。
乾杯,
布雷迪
Names Default To Here( 1 );
txt =
"\[PP, PPr (don’t forget to measure standard wafer SMM PPr WAL S0782-3, "Redarect PPr new" recipe (On WE9LDIP ONLY)) and UVX all (redirect), and run on click vale for mismatch info, Final PP
std Pli = 550 average value1 = … (Run/Std = >5.00) 100 / 120 = 0.8333
DOD tap and bottom on monitor only.]\";
beg = Contains( txt, "std Pli = " ) + 9;
end = Contains( txt, " ", beg + 1 );
val = Num( Munger( txt, beg, end - beg ) );
回复:從文本中提取值在JMP中有很多方法可以做到這一點。 這是一個:
Names Default To Here(1);
str = "\[PP, PPr (don’t forget to measure standard wafer SMM PPr WAL S0782-3, "Redarect PPr new" recipe (On WE9LDIP ONLY)) and UVX all (redirect), and run on click vale for mismatch info, Final PP
std Pli = 550 average value1 = … (Run/Std = >5.00) 100 / 120 = 0.8333
DOD tap and bottom on monitor only]\";
searchString = "std Pli = ";
//substr
firstSplit = Substr(str, Contains(str, searchString) + Length(searchString));
substr_result = Substr(firstSplit, 1, Contains(firstSplit, " ") - 1);
Show(substr_result);
另外,如果知道如何使用正則表達式,則可以使用:
regex_result = Regex(str, "(std Pli = )(\d+)", "\2");
Show(regex_result);
回覆:從文字中提取值非常感謝,所有建議都很有效。