If each and every character of a string is written in small letters, then that string can be called a lowercase string. Lowercase CharacterĪny character written in small letters is known as a lowercase character. Convert a string to lowercase in C++ // and convert each character to lower case foreach sampleText.begin(). If each and every character of a string is written in capital letters, then that string can be called an "uppercase string." CODESCRACKER, for example. Uppercase CharacterĪny character written in capital letters is known as an "uppercase" character. Returns: It returns the modified string obtained after converting the characters of the given string str to lowercase. Syntax: char strlwr (char str) Parameter: str: This represents the given string which we want to convert into lowercase.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |