UDF Example
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
TRIM - In the scenario where the user is working with a
SUBSTR for varchar columns like tenantname_tbl() with the
character length of 32k, it becomes difficult to read the data. The Trim function helps the
user by providing the users with the exact data that is needed. The TRIM function could be
written as shown below:
|
This function can be called as shown below to get the data after the TRIM function is performed:
|