| ZennoLab.Macros Assembly > ZennoLab.Macros Namespace > TextProcessing Class : ToUpper Method |
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.
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.
Type: System.String
The uppercase in specified place equivalent of the current string.
// performs to upper operation for all string string allToUpper = Macros.TextProcessing.ToUpper("string to upper", "All"); // performs to upper operation for first letters string firstLettersToUpper = Macros.TextProcessing.ToUpper("string to upper", "FirstLetters"); // performs to upper operation for first letter string firstLetterToUpper = Macros.TextProcessing.ToUpper("string to upper", "FirstLetter");
// performs to upper operation for all string $allToUpper = Macros::TextProcessing::ToUpper("string to upper", "All"); // performs to upper operation for first letters $firstLettersToUpper = Macros::TextProcessing::ToUpper("string to upper", "FirstLetters"); // performs to upper operation for first letter $firstLetterToUpper = Macros::TextProcessing::ToUpper("string to upper", "FirstLetter");
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.