[Lazarus] Threads in Lazarus code base
Juha Manninen (gmail)
juha.manninen62 at gmail.com
Wed Sep 15 10:39:20 CEST 2010
On 9/14/2010 09:33, Mattias Gaertner wrote:
> On Tue, 14 Sep 2010 19:28:19 +0300
> Alberto Narduzzi<albertonarduzzi at yahoo.com> 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
More information about the Lazarus
mailing list