Here is what I am looking to do:
1) Trncate a string after 400 characters
2) Remove any special characters at the end of the string
3) with the same strong, remove all characters after the last period.
It is numeber three that I am having trouble with.
By truncating after 400 characters, the last sentance is cut in half so I just want to remove it.
How can I get perl to truncate after the last period in a string?
Thanks,
Simon