![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
"Undocumented" REXX functions
The following REXX functions to work with DBCS mixed Strings are only
documented in the IBM: OS/2 2.0 Procedures Language/2 Reference Manual and
in the Object-Oriented REXX online documentation:
* DBADJUST
* DBBRACKET
* DBCENTER
* DBLEFT
* DBRIGHT
* DBRLEFT
* DBRRIGHT
* DBTODBCS
* DBTOSBCS
* DBUNBRACKET
* DBVALIDATE
* DBWIDTH
Well, for the "normal" REXX programmer only two of these functions are
interesting (The functions also work with SBCS strings):
Name DBRLEFT( string, n {,option} )
Function Delete n chars beginning with the first char
Example DBRLEFT( "ABCDEFG", 2 ) gives "CDEFG"
Note The parameter option is only needed for DBCS strings)
For SBCS strings you should not use this parameter.
Name DBRRIGHT( string, n {,option} )
Function Delete n chars beginning with the last char
Example DBRRIGHT( "ABCDEFG", 3 ) gives "ABCD"
Note The parameter option is only needed for DBCS strings)
For SBCS strings you should not use this parameter.
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs