jdubs edited this page Oct 21, 2016 · 1 revision

Table of Contents


Prepend text to the value in the supplied variable.


SpecName (constant) The variable containing the text to prepend the prefix.

Prefix (multiple) The value to prepend to the variable.

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


This method simply applies a prefix to the variable specified. For example, a prefix of "Phone: " applied to a value of "321.654.9877" results in "Phone: 321.654.9877".

Source Code

public static void Prefix(string SpecName, object Prefix, object ErrorMessage)
		Variable(SpecName).Value = String.Format("{0}{1}", Prefix, Variable(SpecName).Value);
	catch (Exception ex)
		throw new Four51ActionsException(ex.Message, (string)ErrorMessage);

Referenced Methods

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.