Kactoos

kactoos-jvm / nnl.rocks.kactoos.text / SubText

SubText

class SubText : TextEnvelope

Extract a substring from a Text.

There is no thread-safety guarantee.

Since 0.4

Constructors

Name Summary
<init> SubText(origin: Text, start: KScalar<Int>, end: KScalar<Int>)
SubText(text: String, start: Int)
SubText(text: String, start: Int, end: Int)
SubText(text: Text, start: Int)
SubText(text: Text, start: Int, end: Int)SubText(origin: KText, start: Int, end: Int)
Extract a substring from a Text.

Inherited Functions

Name Summary
asString open fun asString(): String
Convert it to the string.
compareTo open fun compareTo(other: Text): Int
equals open fun equals(other: Any?): Boolean
hashCode open fun hashCode(): Int
toString open fun toString(): String