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