Estrai un valore dal testoCiao,
È possibile estrarre il file 550 valore dal testo sottostante utilizzando la formula JMP che potrei quindi incorporare nello script. La forma complessiva e il numero di caratteri cambieranno ma l'espressione di std Pli = rimarrà lo stesso.
Qualsiasi aiuto sarebbe molto apprezzato.
Grazie,
Tomasz
PP, PPr (non dimenticare di misurare il wafer standard SMM PPr WAL S0782-3, ricetta "Redarect PPr new" (SOLO su WE9LDIP)) e UVX all (reindirizzamento), ed eseguire il click vale per informazioni sulla mancata corrispondenza, Final PP
std Pli = 550 valore medio1 =… (Run / Std => 5,00) 100/120 = 0,8333
Toccare DOD e in basso solo sul monitor.
ScriptingRi: Estrai un valore dal testoCiao,
È possibile utilizzare le operazioni sulle stringhe di JMP per questo. Leggi su Contains (), Munger (), Substr (), Word (), Words (), Right (), Left (), ecc. Qui ho usato munger e contiene per isolare il numero. La funzione num () cambia la stringa trovata, "550" nel numero 550.
Saluti,
Brady
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 ) );
Ri: Estrai un valore dal testoMolti modi per farlo in JMP. Eccone uno:
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);
Inoltre, se sai come usare le espressioni regolari, potresti usarlo:
regex_result = Regex(str, "(std Pli = )(\d+)", "\2");
Show(regex_result);
Ri: Estrai un valore dal testograzie mille, tutti i suggerimenti funzionano bene.