EncodeURLElement¶
URL-encodes a string for use in URLs
Declaration¶
Source position: fphttpclient.pp line 532
function EncodeURLElement(const S: AnsiString) : AnsiString;
function EncodeURLElement(const S: UnicodeString) : UnicodeString;
Description¶
Encodes special characters in a string to make it safe for use in URLs by replacing them with percent-encoded sequences.
See also¶
| Name | Description |
|---|---|
| DecodeURLElement | URL-decodes a string from URL encoding |