Skip to content

LowerCase

jdubs edited this page Oct 21, 2016 · 1 revision

Table of Contents

Overview

Converts all characters to lower 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 lower case.

Source Code

public static void LowerCase(string SpecName, object ErrorMessage)
{
	Break();
	try
	{
		Variable(SpecName).Value = Variable(SpecName).Value.ToLower();
	}
	catch (Exception ex)
	{
		throw new Four51ActionsException(String.Format("{0}{1}", ex.Message, (string)ErrorMessage != String.Empty ? Environment.NewLine + (string)ErrorMessage : String.Empty));
	}
}

Referenced Methods

Clone this wiki locally