quote
quote(
s:string,safe:string):string
Defined in: packages/pythonlib/src/urllib.ts:256
Percent-encode a string for use in a URL.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
s | string | undefined | String to encode |
safe | string | "" | Characters that should not be encoded (default: empty) |
Returns
string
Percent-encoded string