On 2010-09-14 19: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
LNet has function HTTPEncode() (in lHTTPUtil unit), which should do what is required here.

Regards
Žilvinas Ledas

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to