On 9/14/2010 09:33, Mattias Gaertner wrote:
On Tue, 14 Sep 2010 19:28:19 +0300
Alberto Narduzzi<[email protected]> wrote:
Is there already a function for this that can be used in the LCL?
I may guess...
S := StringReplace(S, ' ', '%20', [rfReplaceAll]);
I meant for all special characters.
Mattias
You can use the HTTPEncode function from
.../packages/fcl-web/src/base/httpdefs.pp
and the HTTPDecode to convert things back if needed.
AB
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus