|The stupid question is the question not asked|
With substr, index the offset don't get proper start positionby Oskym (Initiate)
|on Mar 21, 2019 at 10:26 UTC||Need Help??|
Oskym has asked for the wisdom of the Perl Monks concerning the following question:
I'd made a simple script trying to get the final part from a line from the 4th space occurrence.
The Output should be like this:
"GetCertificate](3) Returning context. ID=PTWEBSERVER, Lang=ENG"
Instead of that I'm getting this:
"(6) 01/02/19 06:30:30 GetCertificate(3) Returning context. ID=PTWEBSERVER, Lang=ENG"
Can I ask for help to any expert?
Here is the code:
Thanks for your help!!