Allright, I think I have solved the problem. You were right Jeff, there were white space characters in the string.
I built my site tree in the quick site builder. The site tree I am building is huge and that little text box wasn't big enough and was forcing new lines when I pasted my site tree in from notepad. I suspect that is what was causing white space characters to appear. Thats my guess anyway:) Or it may even be notepad put them in? Dunno, but it was something. I put this <cfset cleanFU = ReReplaceNoCase(cleanFU,"\s","","all")> into the cleanFU function before this line <cfset cleanFU = ReReplaceNoCase(cleanFU,"[^a-z0-9/]","-","all")> This gets rid of all the white space characters like tabs and new lines and backspaces etc. I will log this with the fix into the bugs website. Thanks you for your help Cheers Gav --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: farcry-dev@googlegroups.com To unsubscribe, email: farcry-dev+unsubscr...@googlegroups.com For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~---