-
Notifications
You must be signed in to change notification settings - Fork 1
UpperCase
jdubs edited this page Oct 21, 2016
·
1 revision
Converts all characters to upper case.
SpecName (constant) The variable containing the text to format.
ErrorMessage (multiple | optional) The error message to return when any error occurs.
This method simply converts all alpha characters to upper case.
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);
}
}