On Jun 22, 2010, at 1:41 PM, Ashley Sheridan wrote:

It is clean, but as Richard mentioned, it won't handle strings outside of the traditional 128 ASCII range, so accented characters and the like will be converted to an underscore. Also, spaces might become an issue.

However, if you are happy that your input won't go beyond the a-z0-9 range, then it should do what you need.

No, actually I'm fairly confident characters outside the 128 range are what are causing me problems now.

So I will try Richard's method.

Thanks to all.


Reply via email to