my $string = 'O1/APZ "GWHMSC2_R132_EP" 3233 150407 1448 BACKUP INFORMA +TION FAULT FAULT CODE 34'; my $thirty_four = substr($string, 18, 1) . substr($string, 33, 1); my $flag = (34 == $thirty_four);
Or did you have a different way of extracting "34" from the string?
In reply to Re: reading a value from a given text
by choroba
in thread reading a value from a given text
by get2vijay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |