in reply to Re: extract ouput that counts strings starting with A in the dataset
in thread extract ouput that counts strings starting with A in the dataset

Thankyou very much choroba , similarly i also want end of the string , but these are of different length , can you suggest me in this
  • Comment on Re^2: extract ouput that counts strings starting with A in the dataset

Replies are listed 'Best First'.
Re^3: extract ouput that counts strings starting with A in the dataset
by choroba (Cardinal) on Feb 29, 2012 at 15:58 UTC
    The last character is
    substr $line, -1
    If you do not chomp your input, though, this might return end-of-line.