StringUtilities (Apache JMeter dist API)
Description: declaration: package: org.apache.jmeter.util, class: StringUtilities

Package org.apache.jmeter.util

# Class StringUtilities

java.lang.Object
org.apache.jmeter.util.StringUtilities

public final class StringUtilities extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `substitute(String input, String pattern, String sub)`
  Replace all patterns in a String

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### substitute

    public static String substitute(String input, String pattern, String sub)
    Replace all patterns in a String
    Parameters:
      `input` - - string to be transformed
      `pattern` - - pattern to replace
      `sub` - - replacement
    Returns:
      the updated string
    See Also:
      - `- JDK1.4 only`