Skip to content

UpperCase

jdubs edited this page Oct 21, 2016 · 1 revision

Table of Contents

Overview

Converts all characters to upper case.

Parameters

SpecName (constant) The variable containing the text to format.

ErrorMessage (multiple | optional) The error message to return when any error occurs.

Synopsis

This method simply converts all alpha characters to upper case.

Source Code

public static void UpperCase(string SpecName, object ErrorMessage)
{
	Break();
	try
	{
		Variable(SpecName).Value = Variable(SpecName).Value.ToUpper();
	}
	catch (Exception ex)
	{
		throw new Four51ActionsException(ex.Message, (string)ErrorMessage);
	}
}

Referenced Methods

Clone this wiki locally