Indicates whether a Unicode character is categorized as a lowercase letter.
Overloads IsLower(Char)Indicates whether the specified Unicode character is categorized as a lowercase letter.
IsLower(String, Int32)Indicates whether the character at the specified position in a specified string is categorized as a lowercase letter.
ExamplesThe following code example demonstrates IsLower.
using System;
public class IsLowerSample {
public static void Main() {
char ch = 'a';
Console.WriteLine(Char.IsLower(ch)); // Output: "True"
Console.WriteLine(Char.IsLower("upperCase", 5)); // Output: "False"
}
}
open System
let ch = 'a'
printfn $"{Char.IsLower ch}" // Output: "True"
printfn $"""{Char.IsLower("upperCase", 5)}""" // Output: "False"
Module IsLowerSample
Sub Main()
Dim ch As Char
ch = "a"c
Console.WriteLine(Char.IsLower(ch)) ' Output: "True"
Console.WriteLine(Char.IsLower("upperCase", 5)) ' Output: "False"
End Sub
End Module
IsLower(Char)
Indicates whether the specified Unicode character is categorized as a lowercase letter.
public:
static bool IsLower(char c);
public static bool IsLower(char c);
static member IsLower : char -> bool
Public Shared Function IsLower (c As Char) As Boolean
Parameters
The Unicode character to evaluate.
Returnstrue
if c
is a lowercase letter; otherwise, false
.
Valid lowercase letters are members of the following category in UnicodeCategory: LowercaseLetter
.
Indicates whether the character at the specified position in a specified string is categorized as a lowercase letter.
public:
static bool IsLower(System::String ^ s, int index);
public static bool IsLower(string s, int index);
static member IsLower : string * int -> bool
Public Shared Function IsLower (s As String, index As Integer) As Boolean
Parameters
The position of the character to evaluate in s
.
true
if the character at position index
in s
is a lowercase letter; otherwise, false
.
index
is less than zero or greater than the last position in s
.
Character positions in a string are indexed starting from zero.
Valid lowercase letters are members of the following category in UnicodeCategory: LowercaseLetter
.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4