Class ZestAssignReplace


  • public class ZestAssignReplace
    extends ZestAssignment
    The Class ZestAssignString assigns a string (which can include other variables) to the specified variable.
    • Constructor Detail

      • ZestAssignReplace

        public ZestAssignReplace()
        Instantiates a new ZestAssignReplace.
      • ZestAssignReplace

        public ZestAssignReplace​(String variableName)
        Instantiates a new ZestAssignReplace.
        Parameters:
        variableName - the variable name
      • ZestAssignReplace

        public ZestAssignReplace​(String variableName,
                                 String replace,
                                 String replacement,
                                 boolean regex,
                                 boolean caseExact)
        Instantiates a new ZestAssignReplace.
        Parameters:
        variableName - the name of the variable where to do the replacement.
        replace - what to replace.
        replacement - the replacement.
        regex - true if replace is a regular expression, false otherwise.
        caseExact - true if the replace match is case sensitive, false otherwise.