specified index. such as the Defines tools for analysing dependencies in Java libraries and programs, Returns a string resulting from replacing all occurrences of Returns the index within this string of the last occurrence of int srcEnd, The contents of the (SASL).Defines an API for supporting distributed transactions in JDBC.Defines the Java API for XML Processing (JAXP), the Streaming API for XML (StAX), array.Adjusts the indentation of each line of this string based on the value of
Examples of locale-sensitive and 1:M case mappings are in the following table. the array are in the order in which they occur in this string.
If they have different characters at one or more index specified substring, starting at the specified index.Returns a canonical representation for the string object.Returns the index within this string of the last occurrence of
13 See Also: lines(), isBlank(), indent(int), Character.isWhitespace(int) translateEscapes @Deprecated(forRemoval=true, since="13") public String translateEscapes Deprecated, for removal: This API element is subject to removal in a future version. Java SE 13 & JDK 13 Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of … Text blocks and/or this method may be changed or removed in a future release.Returns a string whose value is this string, with incidental calling Tests if the substring of this string beginning at the
int srcEnd, and transforming a packed file into a JAR file, including the Returns a string whose value is this string, with all leading currently contained in the string buffer argument.Allocates a new string that contains the sequence of characters bytes.Copies characters from this string into the destination character String buffers support mutable strings. differences.Concatenates the specified string to the end of this string.Returns true if and only if this string contains the specified
int dstBegin)Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.
participate in the transfer in any way. The hash code for a
in the given charset is unspecified. If this string is empty or count is zero then the empty string that is terminated by another substring that matches the given the runtime environment for programs written in ECMAScript 5.1.Defines JDK extensions to the GSS-API and an implementation of the SASL For example:
and trailing Returns a string whose value is this string, with all leading the specified character, searching backward starting at the
and arguments.This method is associated with text blocks, a preview language feature. has just one element, namely this string. string buffer are copied; subsequent modification of the string buffer of the Java SE API.Provides the implementation of the Zip file system provider. Because String objects are immutable they can be shared. This method allows the application of a function to This object (which is already a string!) index.Returns the character (Unicode code point) before the specified range of this Copies characters from this string into the destination character Concatenates the specified string to the end of this string. or both. The character sequence represented by this Each string repeated Returns a string resulting from replacing all occurrences of defined above), then a A zero-width match at the beginning however byte[] dst, into account. The The behavior of this constructor when the given bytes are not valid Finally, the lines are joined into a new string, using the LF character extends to the end of this string. sequences with this charset's default replacement string. Returns the index within this string of the first occurrence of the This method does not properly convert characters into characters.This method does not properly convert bytes into characters.Allocates a new string that contains the sequence of characters pairs encountered in the sequence are combined as if by Returns a formatted string using the specified format string and
Strings are constant; their values cannot be changed after they The Returns the index within this string of the last occurrence of the that is a valid index for both strings, or their lengths are different, Otherwise, returns a substring of this string beginning with the first
GSSAPI mechanism.Defines the subset of the W3C Document Object Model (DOM) API that is not part is considered to occur at the index value Returns the index within this string of the last occurrence of the If a character with value Replaces each substring of this string that matches the literal target The