kactoos-jvm / nnl.rocks.kactoos.text / SubText
class SubText : TextEnvelope
Extract a substring from a Text.
There is no thread-safety guarantee.
Since 0.4
| 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. |
| Name | Summary |
|---|---|
| asString | open fun asString(): StringConvert 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 |