splituser
splituser(
host:string): [string|null,string]
Defined in: packages/pythonlib/src/urllib.ts:332
Split a host into [user, host].
Parameters
| Parameter | Type | Description |
|---|---|---|
host | string | Host string (may include user:pass@) |
Returns
[string | null, string]
Tuple of [user, host]