Hi,
I have a string like this-->"After Executing service For 10 Request"
in this string i need to extract "10".
the contents of the string is variable and "10" appears before "For" and after "Request" i.e, in this format "For x Request"
I need to extract the value of x. How to do this in AWK?
Hi,
The solution that have been proposed may not solve my problem because the position of x i.e 10 in this case may not always be 5th word in the string.
Only thing that is constant here is the pattern "For X Request".
First I need to find this pattern and then extract x from it.