ECN-4490 New intrinsic functions

Product: ACUCOBOL-GT

Module: Compiler/Runtime

Machines Affected: All

Known Versions Affected: All

DESCRIPTION:

The following intrinsic functions have been added to assist with text handling:

  • TRIM - Trims a particular character from the start and end of an alphanumeric string.
  • COUNT-LEADING - Returns the number of consecutive times that a character appears at the beginning of a string.
  • COUNT-TRAILING - Returns the number of consecutive times that a character appears at the end of a string.

Refer to Appendix F Intrinsic Functions for full syntactical details of each function.