xHarbour Reference Documentation > Function Reference |
Changes the first character of tokens to upper case.
TokenLower( <cString> , ; [<cDelimiter>], ; [<nTokenPos>] , ; [<nSkipWidth>] ) --> cResult
The function changes the first character of the specified token to upper case and returns the modified string.
See also: | AtToken(), CSetRef(), NumToken(), Token(), TokenLower() |
Category: | CT:String manipulation , Character functions , Token functions |
Source: | ct\token1.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
// The example displays results of TokenUpper() PROCEDURE Main1 LOCAL cString := "this is the xharbour compiler" ? TokenUpper( cString ) // This Is The XHarbour Compiler ? TokenUpper( cString, "x" ) // this is the xHarbour compiler ? TokenUpper( cString, , 2 ) // this Is the xharbour compiler RETURN
http://www.xHarbour.com