|
search a string and mail it as attachment
Hi All,
I need to search a text in a string, assign it to a variable.
Ex :
I need to get the number that has gif extension. The number is not constant. The search value should return as 1174499845 from the following string.
x 1174499845.gif, 133982 bytes, 262 tape blocks
Go to relevant directory, search for the the variable (example 1174499845) in the directory.
if exists Mail it as attachment else display "required attachment" not available.
Thanks in advance.
Jagadeesh Tata.
|