TrimRight (PQL)
Returns the supplied string without the trailing 'whitespaces'
- Returned Output: Text
- Library: PQL \ Common \ String
- Version: 2020.13.000
- Compatibility:
- Can be combined with and other PQL function throughout the application.
- It CANNOT be used with MDX or VBA functions. But it can be used on MDX-based content in other parts of the application.
Syntax
TrimRight( <Text> )
* Click on the function's arguments above for more details on the input values.
Comments
- The input text string can be any alphanumeric set of characters.
Different Function types
- This function is like the Excel trim function.
Examples
This example returns " apple" without the blank spaces on the right, from the input string:
" apple "
Trim(" apple ")