rindex( $MessageLines[ -1 ], ':' ) comes immediately to mind. If that's -1 there's no ':' in it (but then reading the rindex docs would tell one that).
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: A Better Way to Find the Position of the Last Non-Whitespace Character in the Last Element of an Array.
by Fletch
in thread A Better Way to Find the Position of the Last Non-Whitespace Character in the Last Element of an Array.
by NateTut
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |