This content has been marked as final. Show 4 replies
It seems like you're trying to reinvent something that already exists. Take a look at the function URLEncodedFormat(). It will convert a string of text into a URL-safe form. Your string,for example, would become:
Thanks for the reply. I was aware of that function, but for the purpose of my needs, it is too messy. Part of the reason for wanting the solution done in the way mentioned above is so it 'looks' identifyable in the browser. Obviously there are SEO benefits too.
Maybe you can have two URL params?
One that looks messy but will always work
and one that looks identifiable in the browser?
Perhaps this may help you in your endeavor.