ajEnviron function
Description
The ajEnviron function returns the string associated with an operating system environment variable. Otherwise, it returns empty string.
Syntax
ajEnviron(variable_name)
Argument Name | Argument Type | Description |
---|---|---|
variable_name (required) | String | Containing the name of environment variable. |
The function will return:
1) Return Value: String
2) Return Type: Single Value
Example
'JAVA_HOME' is an existing environment variable defined in the operating system.
Use ajEnviron to retrieve the value.
Click here to download the use case workbooks for further reference.
Error Scenarios
System will raise error when missing required parameter.