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. The function also sets the string passed to the function to the returned string; in reality they become the same thing.
The function returns the string, with all upper-case letters converted to lower-case.
None.
' 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!"
Last Modified: July 30, 1999
This page is copyright © 1999 Paul Kuliniewicz. Copyright Information