All Implemented Interfaces:
PostfixMathCommandI, Serializable

public class Right extends BinaryFunction
Extract the right most n characters from a string: right("abcdefg",2) -> "fg".
  • If n is greater than the length of the string return the full string.
  • If n is less than zero an EvaluationException is thrown.
  • If the first argument is not a string an EvaluationException is thrown.
  • If the second argument is not a number representing an integer an EvaluationException is thrown.
See Also: