PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

New BIFs in V7R1

Go down

New BIFs in V7R1

Post  maran on Sat Mar 23, 2013 12:35 am

IBM delivered the new functions in V7R1.

%TRIM--trim, remove leading and trailing characters
%TRIML--trim left, remove leading characters
%TRIMR--trim right, remove trailing characters

The trim functions process two parameters: one required, one optional. The first parameter is the CL variable that contains the data. The second parameter contains one or more characters that are to be removed. It defaults to blanks.

You may use the trim functions wherever character expressions are allowed.

You may use these functions in both OPM and ILE CL.

Posts : 442
Join date : 2009-07-24

View user profile

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum