(imported comment written by khanand91)
Is it possible to return ‘part of’ a line of text in a file ?
i.e.
if exists file (“C:\Program Files\Symantec\ESM\Bin\w3s-ix86\3sysver.log”) then following texts of firsts “3sysmod” of lines whose (it contains “3sysmod”) of file (“C:\Program Files\Symantec\ESM\Bin\w3s-ix86\3sysver.log”) else “n/a”
The output I get is as follows:-
27.0.0 (2006/06/27) - Installation (2006/06/27) - Installation
I’d just like to return the first 6 characters i.e. 27.0.0 … it’s probably easy but I can’t find and example on how to manipulate text
thanks