Unanswered: last char of a string
Hi again every1
I just wanetd to know if there is some way of checking the last character of a string....tht is checking it without finding the length and goin thru the whole string..
Is there a predefined function in perl tht returns the last char of a string without altering the string itself?
fr example if i have
i want to returm just "." and
$str should be still="string."
please let me know and thnx in advance frne hlpe provided
You try and try again..but then give up, there's no sense in being a complete fool about it!!!