Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems
Declare Function CharLower Lib "user32.dll" Alias "CharLowerA" (ByVal lpsz As String) As String
Platforms
- Windows 95: Supported.
- Windows 98: Supported.
- Windows NT: Requires Windows NT 3.1 or later.
- Windows 2000: Supported.
- Windows CE: Requires Windows CE 1.0 or later.
Description & Usage
CharLower converts all of the upper-case letters in a string into lower-case. The function also sets the string passed to the function to the returned string; in reality they become the same thing.
Return Value
The function returns the string, with all upper-case letters converted to lower-case.
Visual Basic-Specific Issues
None.
Parameters
- lpsz
- The string to convert to lower-case.
Example
' This code is licensed according to the terms and conditions listed here. ' Convert the string "Hello, World!" into lower-case. Dim target As String ' target string target = CharLower("Hello, World!") ' Convert to lower-case Debug.Print target ' Output should be "hello, world!"
See Also
CharUpper
Category
Strings
Go back to the alphabetical Function listing. Go back to the Reference section index.
Last Modified: July 30, 1999 This page is copyright © 1999 Paul Kuliniewicz. Copyright Information Revised October 29, 2000 Go back to the Windows API Guide home page. E-mail: vbapi@vbapi.com Send Encrypted E-Mail This page is at http://www.vbapi.com/ref/c/charlower.html