toLowerCase

Converts all of the characters in the given string to lower case, using the rules of the default locale.

Syntax:

$[ScriptVariable]::toLowerCase()

Parameters:

None

Example:

The following example illustrates the syntax for the toLowerCase string method:

$str = "AAA"

$str::toLowerCase()

print($str)

Output:

aaa