ZennoLab Assemblies Documentation
ToLower Method
Example 

Type: System.String

The source string.

Type: System.String

The place where need performs the operation to uppercase. It can have the following values: All, FirstLetters and FirstLetter.

Returns a copy of this string converted to lowercase in specified place.
Syntax
public static string ToLower( 
   string sourceString,
   string method
)

Parameters

sourceString

Type: System.String

The source string.

method

Type: System.String

The place where need performs the operation to uppercase. It can have the following values: All, FirstLetters and FirstLetter.

Return Value

Type: System.String

The lowercase in specified place equivalent of the current string.

Example
The following code example demonstrates uses of the ToLower method.
// performs to lower operation for all string
string allToLower = Macros.TextProcessing.ToUpper("STRING TO LOWER", "All");
 
// performs to lower operation for first letters
string firstLettersToLower = Macros.TextProcessing.ToUpper("STRING TO LOWER", "FirstLetters");
 
// performs to lower operation for first letter
string firstLetterToLower = Macros.TextProcessing.ToUpper("STRING TO LOWER", "FirstLetter");
// performs to lower operation for all string
$allToLower = Macros::TextProcessing::ToUpper("STRING TO LOWER", "All");
 
// performs to lower operation for first letters
$firstLettersToLower = Macros::TextProcessing::ToUpper("STRING TO LOWER", "FirstLetters");
 
// performs to lower operation for first letter
$firstLetterToLower = Macros::TextProcessing::ToUpper("STRING TO LOWER", "FirstLetter");
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

TextProcessing Class
TextProcessing Members
ToUpper Method

Send Feedback