CharLower Function

Declare Function CharLower Lib "user32.dll" Alias "CharLowerA" (ByVal lpsz As String) As String

CharLower converts all of the upper-case letters in a string into lower case. While many programming languages have intrinsic functions to do this, Windows provides this API for languages that may not. The converted string is returned.

lpsz
The string to convert to lower-case.

Example:

' Convert "Hello, World!" to lower-case
Debug.Print CharLower("Hello, World!")
' value returned is "hello, world!"

Related Call: CharUpper
Category: Strings
Back to the index.


Back to Paul Kuliniewicz's Home Page
E-mail: Borg953@aol.com
This page is at http://members.aol.com/Borg953/api/functions/charlower.html