in reply to Re: A maybe rather silly question...
in thread A maybe rather silly question...

In substr you can't specify "Start from character 7 and continue until you find a blank space", right? Or can you?

Replies are listed 'Best First'.
Re^3: A maybe rather silly question...
by Ratazong (Monsignor) on Feb 27, 2014 at 15:20 UTC

    But you could read from character 7 till the end, and then use split to get the part before the first whitespace ...

    ... or use index to search for the first blank after position 7, and adjust your substr accordingly ...

    so many possibilities ;-)