String toLowerCase() Method

  • Post author:
  • Post category:Dart
  • Post comments:2 Comments
String toLowerCase() Method

In this guide, we will discuss String toLowerCase() Method in Dart Programming Language. Returns a new string by converting all characters in the given string to lower case.

Syntax

String.toLowerCase()

Return Type

Returns a string.

Example

void main() { 
   String uStr = "ABC"; 
   String lStr = "hello"; 
   print(uStr.toLowerCase()); 
   print(lStr.toLowerCase()); 
}

It will produce the following output −.

abc 
hello

Next Topic : Click Here

This Post Has 2 Comments

Leave a Reply