Converting Uppercase Letters into Lowercase Letters
Function Name
$toLower(String A)
Parameter Description
- String A: string to be converted into lowercase letters.
Parameter A supports the following types:
- Strings
- Local parameters
Function Description
Converts all characters in the specified input string into lowercase characters.
Application Scenarios
The function for converting uppercase letters into lowercase letters can be used in the following scenarios for API automation:
- Request URL
- Request header
- Request body
- Checkpoint property
- if condition
- for loop interrupt condition
Example
- Request URL
As shown in the following figure, the value of test in the request URL is the function for converting uppercase letters into lowercase letters. Parameter A in the function is TEST.
- Request header
As shown in the following figure, the value of lower in the request header is the function for converting uppercase letters into lowercase letters. Parameter A in the function is Test.
- Request body
As shown in the following figure, the function for converting uppercase letters into lowercase letters is used. Parameter A in the function is Test.
- Checkpoint property
As shown in the following figure, the target value of the checkpoint property result is the function for converting uppercase letters into lowercase letters. Parameter A in the function is Test.
- if condition
As shown in the following figure, the target value of the if condition is the function for converting uppercase letters into lowercase letters. Parameter A in the function is AAAAA.
- for loop interrupt condition
As shown in the following figure, the target value of the for loop interrupt condition is the function for converting uppercase letters into lowercase letters. Parameter A in the function is OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot