Rindex used to find end of a string



Hi all,
I have a sequence of strings, for instance
"Hello, World "
"My First Perl Test "
"Exit(0) "

- as you can see, the strings are all different lengths. Is there a
way to use rindex to find out the last non-whitespace character in the
string? I'd like to be able to use a general function to return
"Hello, World", "My First Perl Test" and "Exit(0).

Thanks in advance

Paul

.



Relevant Pages

  • Re: .99999... still=/= 1
    ... > placeholders in the infinite long area *N were already occupied. ... decimal digit strings. ... sequence, and it is understood that any other sequence that happens to ... To describe a member of *N, for example, I can ...
    (sci.math)
  • Re: Pitman CSI Formula - for all values of X
    ... The total number of strings with HD of 1 relative to the chosen ... specific sequence space, which contains it as well as all of the other ... within a particular Hamming Distance of the reference string. ... But patterns don't necessarily imply deliberate design, ...
    (talk.origins)
  • Re: Pitman CSI Formula - for all values of X
    ... The total number of strings with HD of 1 relative to the chosen ... specific sequence space, which contains it as well as all of the other ... within a particular Hamming Distance of the reference string. ... radio signals, but made up 0s and 1s. ...
    (talk.origins)
  • Re: Pitman CSI Formula - for all values of X
    ... The total number of strings with HD of 1 relative to the chosen ... specific sequence space, which contains it as well as all of the other ... within a particular Hamming Distance of the reference string. ... several subsequent posts that your examples were "radio signals", ...
    (talk.origins)
  • Re: Pitman CSI Formula - for all values of X
    ... The total number of strings with HD of 1 relative to the chosen ... specific sequence space, which contains it as well as all of the other ... within a particular Hamming Distance of the reference string. ... radio signals, but made up 0s and 1s. ...
    (talk.origins)