splitpasswd
splitpasswd(
user:string): [string,string|null]
Defined in: packages/pythonlib/src/urllib.ts:346
Split a user:pass into [user, password].
Parameters
| Parameter | Type | Description |
|---|---|---|
user | string | User string (may include :pass) |
Returns
[string, string | null]
Tuple of [user, password]