Class ReplaceFirstOperation

    • Constructor Detail

      • ReplaceFirstOperation

        public ReplaceFirstOperation​(java.lang.String spec)

        Constructor for ReplaceFirstOperation.

        Parameters:
        spec - a String object.
    • Method Detail

      • replace

        public java.lang.String replace​(java.lang.String input)

        replace

        Specified by:
        replace in class StringReplaceOperation
        Parameters:
        input - a String object.
        Returns:
        a String object.