In Sage X3, we may come across various scenarios where we need to get the length of a character string from an existing string.
Sage X3 provides “LEN” keyword which returns the length of a character string.
Syntax:
len(expr_c)
Example:
# Display the content of the variable DATA with blanks spaces to 25 characters.
Output:
# Return length of variable I. The result is an integer type
Output:
output for the length of a character string
Hope this helps!
About Us
Greytrix is one stop solution provider for Sage ERP and Sage CRM needs. We provide complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.
Greytrix have some unique solutions of Sage X3’s integration with Sage CRM, Salesforce.com and Magento eCommerce. It also offers best-in-class Sage X3 customization and development services to Sage business partners, end users, and Sage PSG worldwide.
For more information on Sage X3 Integration and Services, please contact us at x3@greytrix.com . We will be glad to assist you.
Also Read: