jdubs edited this page Oct 21, 2016 · 1 revision

Table of Contents


Trims specified characters from the end of a variable value


SpecName (multiple) The name of the variable for operation result assignment

Characters (multiple) The variable containing the number of total characters

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


The Characters parameter can be a grouping of characters. It is not limited to just one. For example: If you specify to trim "01" from the value "0023423423111" the result will be "0023423423".

Source Code

public static void TrimEnd(string SpecName, object Characters, object ErrorMessage)
		var text = Variable(SpecName).Value;
		Variable(SpecName).Value = text.TrimEnd(((string)Characters).ToCharArray());
	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.