Difference between revisions of "CHAR UPPER()"
From Lianjapedia
Yvonne.milne (Talk | contribs) (→DESCRIPTION) |
Yvonne.milne (Talk | contribs) m (1 revision) |
(No difference)
|
Revision as of 06:34, 11 April 2013
PURPOSE
Convert character string to upper case
SYNONYM
api_char_upper()
SYNOPSIS
#include "lianjaapi.h" char *CHAR_UPPER(string) <input parameters> char string; /* Address of a buffer containing character string */ <output parameters> none
DESCRIPTION
The CHAR_UPPER() function converts the specified character string to upper case.
EXAMPLE
The following example converts the parameter passed to upper case.
#include "lianjaapi.h" lianjaapi_char_upper() { char string[1025]; if ( _parinfo(1) == API_CTYPE) { strcpy(string, CHAR_UPPER( _parc(1) ) ); } else { strcpy(string,""); } _retc( string ); }
SEE ALSO
_parc(), _parclen(), _parcsiz(), _parinfo(), _retc(), _retclen(), ISCHAR(), CHAR_ALLTRIM(), CHAR_LOWER(), CHAR_LPAD(), CHAR_LTRIM(), CHAR_RPAD(), CHAR_RTRIM(), CHAR_STR(), DATE_STOD()