# Package org.apache.commons.lang3.text

package org.apache.commons.lang3.text
Provides classes for handling and manipulating text, partly as an extension to `java.text`. The classes in this package are, for the most part, intended to be instantiated (i.e. they are not utility classes with lots of static methods).

Amongst other classes, the text package provides a replacement for `StringBuffer` named `StrBuilder`, a class for substituting variables within a String named `StrSubstitutor` and a replacement for `StringTokenizer` named `StrTokenizer`. While somewhat ungainly, the `Str` prefix has been used to ensure we don't clash with any current or future standard Java classes.

Deprecated As of 3.6, use the Apache Commons Text text package.

Since:
  2.1

- Related Packages
  Package
  Description
  org.apache.commons.lang3
  Provides highly reusable static utility methods, chiefly concerned with adding value to the `java.lang` classes.
  org.apache.commons.lang3.text.translate
  An API for creating text translation routines from a set of smaller building blocks.
- Class
  Description
  CompositeFormat
  Deprecated.
  As of 3.6, use Apache Commons Text CompositeFormat instead
  ExtendedMessageFormat
  Deprecated.
  As of 3.6, use Apache Commons Text ExtendedMessageFormat instead
  FormatFactory
  Deprecated.
  As of 3.6, use Apache Commons Text FormatFactory instead
  FormattableUtils
  Deprecated.
  As of 3.6, use Apache Commons Text FormattableUtils instead
  StrBuilder
  Deprecated.
  As of 3.6, use Apache Commons Text TextStringBuilder instead
  StrLookup<V>
  Deprecated.
  As of 3.6, use Apache Commons Text StringLookupFactory instead
  StrMatcher
  Deprecated.
  As of 3.6, use Apache Commons Text StringMatcherFactory instead
  StrSubstitutor
  Deprecated.
  As of 3.6, use Apache Commons Text StringSubstitutor instead
  StrTokenizer
  Deprecated.
  As of 3.6, use Apache Commons Text StringTokenizer instead
  WordUtils
  Deprecated.
  As of 3.6, use Apache Commons Text WordUtils instead