[Tutor] ascii encoding

Luis N tegmine at gmail.com
Tue Jan 25 00:29:54 CET 2005


How would I best turn this string:

'2005-01-24 00:00:00.0'

into this string:

'2005%2D01%2D24%2000%3A00%3A00%2E0'

In order to call a URL.

I've hunted through the standard library, but nothing seemed to jump out.

Thank You.


More information about the Tutor mailing list