Estrai un valore dal testoCIAO,
È possibile estrarre il valore 550 dal testo sottostante utilizzando la formula JMP che potrei quindi incorporare nello script. La forma e il numero complessivo dei caratteri cambieranno, ma l'espressione di std Pli = rimarrà la stessa.
Qualsiasi aiuto sarebbe molto apprezzato.
Grazie,
Tommaso
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 esegui su click vale per informazioni sulla mancata corrispondenza, PP finale
std Pli = 550 valore medio1 = … (Run/Std = >5,00) 100 / 120 = 0,8333
Rubinetto DOD e fondo solo sul monitor.
Combinazione e pulizia dei datiIngegneria della qualità e dei processiRi: 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.
Ri: Estrarre un valore dal testograzie mille, tutti i suggerimenti funzionano bene.