Learn how to use and combine different pair functions in APL
Function Name | Description |
---|---|
pair() | Creates a pair from a key and value. |
parse_pair() | Parses a string to form a pair. |
Each argument has a required section which is denoted with required
or optional
required
it means the argument must be passed into that function before it’ll work.optional
it means the function can work without passing the argument value.Creates a pair from a key and value.
Name | Type | Required or Optional | Description |
---|---|---|---|
Key | string | Required | String for the key in the pair |
Value | string | Required | String for the value in the pair |
Separator | string | Optional (Default: ”:“) | Separator between the key and value in the pair |
Returns a pair with the key Key and the value Value with the separator Seperator.
Creates a pair from a key and value.
Name | Type | Required or Optional | Description |
---|---|---|---|
Pair | string | Required | String that has a pair of key value to pull out |
Separator | string | Optional (Default: ”:“) | Separator between the key and value in the pair |
Returns a pair with the key and value separated by the separator Seperator in Pair. If none is found a pair with the value of Pair and an empty key is returned.
Learn how to use and combine different pair functions in APL
Function Name | Description |
---|---|
pair() | Creates a pair from a key and value. |
parse_pair() | Parses a string to form a pair. |
Each argument has a required section which is denoted with required
or optional
required
it means the argument must be passed into that function before it’ll work.optional
it means the function can work without passing the argument value.Creates a pair from a key and value.
Name | Type | Required or Optional | Description |
---|---|---|---|
Key | string | Required | String for the key in the pair |
Value | string | Required | String for the value in the pair |
Separator | string | Optional (Default: ”:“) | Separator between the key and value in the pair |
Returns a pair with the key Key and the value Value with the separator Seperator.
Creates a pair from a key and value.
Name | Type | Required or Optional | Description |
---|---|---|---|
Pair | string | Required | String that has a pair of key value to pull out |
Separator | string | Optional (Default: ”:“) | Separator between the key and value in the pair |
Returns a pair with the key and value separated by the separator Seperator in Pair. If none is found a pair with the value of Pair and an empty key is returned.