New BIFs in V7R1
Page 1 of 1
New BIFs in V7R1
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.
%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.
Similar topics
» New Features of RPG in V7R1
» Now V7R1- SQL statements can now reference objects from more than one IBM i system.
» V7R1 Feature: Remove Disk Units Without an IPL
» Now V7R1 - Default parameter values are supported for both SQL and external stored procedures
» Now V7R1- SQL statements can now reference objects from more than one IBM i system.
» V7R1 Feature: Remove Disk Units Without an IPL
» Now V7R1 - Default parameter values are supported for both SQL and external stored procedures
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|