Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / kotlin.String
Go to reference

Extensions for kotlin.String

chunked

Same as chunked, but accepts Attribute and returns a new Attribute.

fun <R> any_iterable<R>.chunked(size: Attribute<Int>, transform: (CharSequence) -> R): Attribute<List<R>>

chunkedSequence

Same as chunkedSequence, but accepts Attribute and returns a new Attribute.

fun <R> any_iterable<R>.chunkedSequence(size: Attribute<Int>, transform: (CharSequence) -> R): Attribute<Sequence<R>>

codePointAt

Same as codePointAt, but accepts Attribute and returns a new Attribute.

fun String.codePointAt(index: Attribute<Int>): Attribute<Int>

codePointBefore

Same as codePointBefore, but accepts Attribute and returns a new Attribute.

fun String.codePointBefore(index: Attribute<Int>): Attribute<Int>

codePointCount

Same as codePointCount, but accepts Attribute and returns a new Attribute.

fun String.codePointCount(beginIndex: Attribute<Int>, endIndex: Attribute<Int>): Attribute<Int>
fun String.codePointCount(beginIndex: Attribute<Int>, endIndex: Int): Attribute<Int>
fun String.codePointCount(beginIndex: Int, endIndex: Attribute<Int>): Attribute<Int>

commonPrefixWith

Same as commonPrefixWith, but accepts Attribute and returns a new Attribute.

fun String.commonPrefixWith(other: Attribute<String>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<String>
fun String.commonPrefixWith(other: Attribute<String>, ignoreCase: Boolean = false): Attribute<String>
fun String.commonPrefixWith(other: String, ignoreCase: Attribute<Boolean>): Attribute<String>

commonSuffixWith

Same as commonSuffixWith, but accepts Attribute and returns a new Attribute.

fun String.commonSuffixWith(other: Attribute<String>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<String>
fun String.commonSuffixWith(other: Attribute<String>, ignoreCase: Boolean = false): Attribute<String>
fun String.commonSuffixWith(other: String, ignoreCase: Attribute<Boolean>): Attribute<String>

contains

Same as contains, but accepts Attribute and returns a new Attribute.

fun String.contains(other: Attribute<String>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Boolean>
fun String.contains(char: Attribute<Char>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Boolean>
fun String.contains(other: Attribute<String>, ignoreCase: Boolean = false): Attribute<Boolean>
fun String.contains(other: String, ignoreCase: Attribute<Boolean>): Attribute<Boolean>
fun String.contains(char: Attribute<Char>, ignoreCase: Boolean = false): Attribute<Boolean>
fun String.contains(char: Char, ignoreCase: Attribute<Boolean>): Attribute<Boolean>
fun String.contains(regex: Attribute<Regex>): Attribute<Boolean>

contentEquals

Same as contentEquals, but accepts Attribute and returns a new Attribute.

fun String.contentEquals(stringBuilder: Attribute<StringBuffer>): Attribute<Boolean>
fun String.contentEquals(charSequence: Attribute<String>): Attribute<Boolean>

drop

Same as drop, but accepts Attribute and returns a new Attribute.

fun String.drop(n: Attribute<Int>): Attribute<String>

dropLast

Same as dropLast, but accepts Attribute and returns a new Attribute.

fun String.dropLast(n: Attribute<Int>): Attribute<String>

elementAt

Same as elementAt, but accepts Attribute and returns a new Attribute.

fun String.elementAt(index: Attribute<Int>): Attribute<Char>

elementAtOrElse

Same as elementAtOrElse, but accepts Attribute and returns a new Attribute.

fun String.elementAtOrElse(index: Attribute<Int>, defaultValue: (Int) -> Char): Attribute<Char>

elementAtOrNull

Same as elementAtOrNull, but accepts Attribute and returns a new Attribute.

fun String.elementAtOrNull(index: Attribute<Int>): Attribute<Char?>

endsWith

Same as endsWith, but accepts Attribute and returns a new Attribute.

fun String.endsWith(char: Attribute<Char>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Boolean>
fun String.endsWith(suffix: Attribute<String>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Boolean>
fun String.endsWith(char: Attribute<Char>, ignoreCase: Boolean = false): Attribute<Boolean>
fun String.endsWith(char: Char, ignoreCase: Attribute<Boolean>): Attribute<Boolean>
fun String.endsWith(suffix: Attribute<String>, ignoreCase: Boolean = false): Attribute<Boolean>
fun String.endsWith(suffix: String, ignoreCase: Attribute<Boolean>): Attribute<Boolean>

findAnyOf

Same as findAnyOf, but accepts Attribute and returns a new Attribute.

fun String.findAnyOf(strings: Attribute<Collection<String>>, startIndex: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0), ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Pair<Int, String>?>

findLastAnyOf

Same as findLastAnyOf, but accepts Attribute and returns a new Attribute.

fun String.findLastAnyOf(strings: Attribute<Collection<String>>, startIndex: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0), ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Pair<Int, String>?>

fold

Same as fold, but accepts Attribute and returns a new Attribute.

fun <R> String.fold(initial: Attribute<R>, operation: (acc: R, Char) -> R): Attribute<R>

foldIndexed

Same as foldIndexed, but accepts Attribute and returns a new Attribute.

fun <R> String.foldIndexed(initial: Attribute<R>, operation: (index: Int, acc: R, Char) -> R): Attribute<R>

foldRight

Same as foldRight, but accepts Attribute and returns a new Attribute.

fun <R> String.foldRight(initial: Attribute<R>, operation: (Char, acc: R) -> R): Attribute<R>

foldRightIndexed

Same as foldRightIndexed, but accepts Attribute and returns a new Attribute.

fun <R> String.foldRightIndexed(initial: Attribute<R>, operation: (index: Int, Char, acc: R) -> R): Attribute<R>

format

Same as format, but accepts Attribute and returns a new Attribute.

fun String.format(locale: Attribute<Locale>, vararg args: Attribute<Any?>): Attribute<String>
fun String.format(locale: Attribute<Locale>, vararg args: Any?): Attribute<String>
fun String.format(locale: Locale, vararg args: Attribute<Any?>): Attribute<String>
fun Companion.format(format: Attribute<String>, vararg args: Attribute<Any?>): Attribute<String>
fun Companion.format(format: Attribute<String>, vararg args: Any?): Attribute<String>
fun Companion.format(format: String, vararg args: Attribute<Any?>): Attribute<String>
fun Companion.format(locale: Attribute<Locale>, format: Attribute<String>, vararg args: Attribute<Any?>): Attribute<String>

get

Same as get, but accepts Attribute and returns a new Attribute.

operator fun String.get(index: Attribute<Int>): Attribute<Char>

getOrElse

Same as getOrElse, but accepts Attribute and returns a new Attribute.

fun String.getOrElse(index: Attribute<Int>, defaultValue: (Int) -> Char): Attribute<Char>

getOrNull

Same as getOrNull, but accepts Attribute and returns a new Attribute.

fun String.getOrNull(index: Attribute<Int>): Attribute<Char?>

hasSurrogatePairAt

Same as hasSurrogatePairAt, but accepts Attribute and returns a new Attribute.

fun String.hasSurrogatePairAt(index: Attribute<Int>): Attribute<Boolean>

indexOf

Same as indexOf, but accepts Attribute and returns a new Attribute.

fun String.indexOf(string: Attribute<String>, startIndex: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0), ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Int>
fun String.indexOf(char: Attribute<Char>, startIndex: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0), ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Int>

indexOfAny

Same as indexOfAny, but accepts Attribute and returns a new Attribute.

fun String.indexOfAny(strings: Attribute<Collection<String>>, startIndex: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0), ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Int>
fun String.indexOfAny(chars: Attribute<CharArray>, startIndex: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0), ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Int>

lastIndexOf

Same as lastIndexOf, but accepts Attribute and returns a new Attribute.

fun String.lastIndexOf(string: Attribute<String>, startIndex: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0), ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Int>
fun String.lastIndexOf(char: Attribute<Char>, startIndex: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0), ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Int>

lastIndexOfAny

Same as lastIndexOfAny, but accepts Attribute and returns a new Attribute.

fun String.lastIndexOfAny(strings: Attribute<Collection<String>>, startIndex: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0), ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Int>
fun String.lastIndexOfAny(chars: Attribute<CharArray>, startIndex: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0), ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Int>

matches

Same as matches, but accepts Attribute and returns a new Attribute.

infix fun String.matches(regex: Attribute<Regex>): Attribute<Boolean>

offsetByCodePoints

Same as offsetByCodePoints, but accepts Attribute and returns a new Attribute.

fun String.offsetByCodePoints(index: Attribute<Int>, codePointOffset: Attribute<Int>): Attribute<Int>
fun String.offsetByCodePoints(index: Attribute<Int>, codePointOffset: Int): Attribute<Int>
fun String.offsetByCodePoints(index: Int, codePointOffset: Attribute<Int>): Attribute<Int>

padEnd

Same as padEnd, but accepts Attribute and returns a new Attribute.

fun String.padEnd(length: Attribute<Int>, padChar: Attribute<Char> = com.femastudios.dataflow.async.util.attributeOf(' ')): Attribute<String>
fun String.padEnd(length: Attribute<Int>, padChar: Char = ' '): Attribute<String>
fun String.padEnd(length: Int, padChar: Attribute<Char>): Attribute<String>

padStart

Same as padStart, but accepts Attribute and returns a new Attribute.

fun String.padStart(length: Attribute<Int>, padChar: Attribute<Char> = com.femastudios.dataflow.async.util.attributeOf(' ')): Attribute<String>
fun String.padStart(length: Attribute<Int>, padChar: Char = ' '): Attribute<String>
fun String.padStart(length: Int, padChar: Attribute<Char>): Attribute<String>

plusA

Same as plus, but accepts Attribute and returns a new Attribute.

fun String.plusA(other: Attribute<Any?>?): Attribute<String>

prependIndent

Same as prependIndent, but accepts Attribute and returns a new Attribute.

fun String.prependIndent(indent: Attribute<String>): Attribute<String>

removePrefix

Same as removePrefix, but accepts Attribute and returns a new Attribute.

fun String.removePrefix(prefix: Attribute<String>): Attribute<String>

removeRange

Same as removeRange, but accepts Attribute and returns a new Attribute.

fun String.removeRange(range: Attribute<IntRange>): Attribute<String>
fun String.removeRange(startIndex: Attribute<Int>, endIndex: Attribute<Int>): Attribute<String>
fun String.removeRange(startIndex: Attribute<Int>, endIndex: Int): Attribute<String>
fun String.removeRange(startIndex: Int, endIndex: Attribute<Int>): Attribute<String>

removeSuffix

Same as removeSuffix, but accepts Attribute and returns a new Attribute.

fun String.removeSuffix(suffix: Attribute<String>): Attribute<String>

removeSurrounding

Same as removeSurrounding, but accepts Attribute and returns a new Attribute.

fun String.removeSurrounding(delimiter: Attribute<String>): Attribute<String>
fun String.removeSurrounding(prefix: Attribute<String>, suffix: Attribute<String>): Attribute<String>
fun String.removeSurrounding(prefix: Attribute<String>, suffix: String): Attribute<String>
fun String.removeSurrounding(prefix: String, suffix: Attribute<String>): Attribute<String>

repeat

Same as repeat, but accepts Attribute and returns a new Attribute.

fun String.repeat(n: Attribute<Int>): Attribute<String>

replace

Same as replace, but accepts Attribute and returns a new Attribute.

fun String.replace(oldValue: Attribute<String>, newValue: Attribute<String>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<String>
fun String.replace(oldChar: Attribute<Char>, newChar: Attribute<Char>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<String>
fun String.replace(regex: Attribute<Regex>, replacement: Attribute<String>): Attribute<String>
fun String.replace(regex: Attribute<Regex>, replacement: String): Attribute<String>
fun String.replace(regex: Attribute<Regex>, transform: (MatchResult) -> String): Attribute<String>
fun String.replace(regex: Regex, replacement: Attribute<String>): Attribute<String>

replaceAfter

Same as replaceAfter, but accepts Attribute and returns a new Attribute.

fun String.replaceAfter(delimiter: Attribute<Char>, replacement: Attribute<String>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>
fun String.replaceAfter(delimiter: Attribute<String>, replacement: Attribute<String>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>

replaceAfterLast

Same as replaceAfterLast, but accepts Attribute and returns a new Attribute.

fun String.replaceAfterLast(delimiter: Attribute<Char>, replacement: Attribute<String>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>
fun String.replaceAfterLast(delimiter: Attribute<String>, replacement: Attribute<String>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>

replaceBefore

Same as replaceBefore, but accepts Attribute and returns a new Attribute.

fun String.replaceBefore(delimiter: Attribute<Char>, replacement: Attribute<String>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>
fun String.replaceBefore(delimiter: Attribute<String>, replacement: Attribute<String>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>

replaceBeforeLast

Same as replaceBeforeLast, but accepts Attribute and returns a new Attribute.

fun String.replaceBeforeLast(delimiter: Attribute<Char>, replacement: Attribute<String>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>
fun String.replaceBeforeLast(delimiter: Attribute<String>, replacement: Attribute<String>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>

replaceFirst

Same as replaceFirst, but accepts Attribute and returns a new Attribute.

fun String.replaceFirst(oldChar: Attribute<Char>, newChar: Attribute<Char>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<String>
fun String.replaceFirst(oldValue: Attribute<String>, newValue: Attribute<String>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<String>
fun String.replaceFirst(regex: Attribute<Regex>, replacement: Attribute<String>): Attribute<String>
fun String.replaceFirst(regex: Attribute<Regex>, replacement: String): Attribute<String>
fun String.replaceFirst(regex: Regex, replacement: Attribute<String>): Attribute<String>

replaceIndent

Same as replaceIndent, but accepts Attribute and returns a new Attribute.

fun String.replaceIndent(newIndent: Attribute<String>): Attribute<String>

replaceIndentByMargin

Same as replaceIndentByMargin, but accepts Attribute and returns a new Attribute.

fun String.replaceIndentByMargin(newIndent: Attribute<String>, marginPrefix: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf("|")): Attribute<String>
fun String.replaceIndentByMargin(newIndent: Attribute<String>, marginPrefix: String = "|"): Attribute<String>
fun String.replaceIndentByMargin(newIndent: String = "", marginPrefix: Attribute<String>): Attribute<String>

replaceRange

Same as replaceRange, but accepts Attribute and returns a new Attribute.

fun String.replaceRange(range: Attribute<IntRange>, replacement: Attribute<String>): Attribute<String>
fun String.replaceRange(range: Attribute<IntRange>, replacement: String): Attribute<String>
fun String.replaceRange(range: IntRange, replacement: Attribute<String>): Attribute<String>
fun String.replaceRange(startIndex: Attribute<Int>, endIndex: Attribute<Int>, replacement: Attribute<String>): Attribute<String>

slice

Same as slice, but accepts Attribute and returns a new Attribute.

fun String.slice(indices: Attribute<IntRange>): Attribute<String>
fun String.slice(indices: Attribute<Iterable<Int>>): Attribute<String>

split

Same as split, but accepts Attribute and returns a new Attribute.

fun String.split(vararg delimiters: Attribute<String>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false), limit: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0)): Attribute<List<String>>
fun String.split(vararg delimiters: Attribute<Char>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false), limit: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0)): Attribute<List<String>>
fun String.split(regex: Attribute<Pattern>, limit: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0)): Attribute<List<String>>
fun String.split(regex: Attribute<Regex>, limit: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0)): Attribute<List<String>>
fun String.split(regex: Attribute<Pattern>, limit: Int = 0): Attribute<List<String>>
fun String.split(regex: Pattern, limit: Attribute<Int>): Attribute<List<String>>
fun String.split(regex: Attribute<Regex>, limit: Int = 0): Attribute<List<String>>
fun String.split(regex: Regex, limit: Attribute<Int>): Attribute<List<String>>

splitToSequence

Same as splitToSequence, but accepts Attribute and returns a new Attribute.

fun String.splitToSequence(vararg delimiters: Attribute<String>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false), limit: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0)): Attribute<Sequence<String>>
fun String.splitToSequence(vararg delimiters: Attribute<Char>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false), limit: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0)): Attribute<Sequence<String>>

startsWith

Same as startsWith, but accepts Attribute and returns a new Attribute.

fun String.startsWith(char: Attribute<Char>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Boolean>
fun String.startsWith(prefix: Attribute<String>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Boolean>
fun String.startsWith(char: Attribute<Char>, ignoreCase: Boolean = false): Attribute<Boolean>
fun String.startsWith(char: Char, ignoreCase: Attribute<Boolean>): Attribute<Boolean>
fun String.startsWith(prefix: Attribute<String>, ignoreCase: Boolean = false): Attribute<Boolean>
fun String.startsWith(prefix: Attribute<String>, startIndex: Attribute<Int>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Boolean>
fun String.startsWith(prefix: String, ignoreCase: Attribute<Boolean>): Attribute<Boolean>

substring

Same as substring, but accepts Attribute and returns a new Attribute.

fun String.substring(startIndex: Attribute<Int>): Attribute<String>
fun String.substring(startIndex: Attribute<Int>, endIndex: Attribute<Int>): Attribute<String>
fun String.substring(startIndex: Attribute<Int>, endIndex: Int): Attribute<String>
fun String.substring(startIndex: Int, endIndex: Attribute<Int>): Attribute<String>
fun String.substring(range: Attribute<IntRange>): Attribute<String>

substringAfter

Same as substringAfter, but accepts Attribute and returns a new Attribute.

fun String.substringAfter(delimiter: Attribute<Char>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>
fun String.substringAfter(delimiter: Attribute<String>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>
fun String.substringAfter(delimiter: Attribute<Char>, missingDelimiterValue: String = this): Attribute<String>
fun String.substringAfter(delimiter: Char, missingDelimiterValue: Attribute<String>): Attribute<String>
fun String.substringAfter(delimiter: Attribute<String>, missingDelimiterValue: String = this): Attribute<String>
fun String.substringAfter(delimiter: String, missingDelimiterValue: Attribute<String>): Attribute<String>

substringAfterLast

Same as substringAfterLast, but accepts Attribute and returns a new Attribute.

fun String.substringAfterLast(delimiter: Attribute<Char>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>
fun String.substringAfterLast(delimiter: Attribute<String>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>
fun String.substringAfterLast(delimiter: Attribute<Char>, missingDelimiterValue: String = this): Attribute<String>
fun String.substringAfterLast(delimiter: Char, missingDelimiterValue: Attribute<String>): Attribute<String>
fun String.substringAfterLast(delimiter: Attribute<String>, missingDelimiterValue: String = this): Attribute<String>
fun String.substringAfterLast(delimiter: String, missingDelimiterValue: Attribute<String>): Attribute<String>

substringBefore

Same as substringBefore, but accepts Attribute and returns a new Attribute.

fun String.substringBefore(delimiter: Attribute<Char>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>
fun String.substringBefore(delimiter: Attribute<String>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>
fun String.substringBefore(delimiter: Attribute<Char>, missingDelimiterValue: String = this): Attribute<String>
fun String.substringBefore(delimiter: Char, missingDelimiterValue: Attribute<String>): Attribute<String>
fun String.substringBefore(delimiter: Attribute<String>, missingDelimiterValue: String = this): Attribute<String>
fun String.substringBefore(delimiter: String, missingDelimiterValue: Attribute<String>): Attribute<String>

substringBeforeLast

Same as substringBeforeLast, but accepts Attribute and returns a new Attribute.

fun String.substringBeforeLast(delimiter: Attribute<Char>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>
fun String.substringBeforeLast(delimiter: Attribute<String>, missingDelimiterValue: Attribute<String> = com.femastudios.dataflow.async.util.attributeOf(this)): Attribute<String>
fun String.substringBeforeLast(delimiter: Attribute<Char>, missingDelimiterValue: String = this): Attribute<String>
fun String.substringBeforeLast(delimiter: Char, missingDelimiterValue: Attribute<String>): Attribute<String>
fun String.substringBeforeLast(delimiter: Attribute<String>, missingDelimiterValue: String = this): Attribute<String>
fun String.substringBeforeLast(delimiter: String, missingDelimiterValue: Attribute<String>): Attribute<String>

take

Same as take, but accepts Attribute and returns a new Attribute.

fun String.take(n: Attribute<Int>): Attribute<String>

takeLast

Same as takeLast, but accepts Attribute and returns a new Attribute.

fun String.takeLast(n: Attribute<Int>): Attribute<String>

toBigDecimal

Same as toBigDecimal, but accepts Attribute and returns a new Attribute.

fun String.toBigDecimal(mathContext: Attribute<MathContext>): Attribute<BigDecimal>

toBigDecimalOrNull

Same as toBigDecimalOrNull, but accepts Attribute and returns a new Attribute.

fun String.toBigDecimalOrNull(mathContext: Attribute<MathContext>): Attribute<BigDecimal?>

toBigInteger

Same as toBigInteger, but accepts Attribute and returns a new Attribute.

fun String.toBigInteger(radix: Attribute<Int>): Attribute<BigInteger>

toBigIntegerOrNull

Same as toBigIntegerOrNull, but accepts Attribute and returns a new Attribute.

fun String.toBigIntegerOrNull(radix: Attribute<Int>): Attribute<BigInteger?>

toByte

Same as toByte, but accepts Attribute and returns a new Attribute.

fun String.toByte(radix: Attribute<Int>): Attribute<Byte>

toByteOrNull

Same as toByteOrNull, but accepts Attribute and returns a new Attribute.

fun String.toByteOrNull(radix: Attribute<Int>): Attribute<Byte?>

toInt

Same as toInt, but accepts Attribute and returns a new Attribute.

fun String.toInt(radix: Attribute<Int>): Attribute<Int>

toIntOrNull

Same as toIntOrNull, but accepts Attribute and returns a new Attribute.

fun String.toIntOrNull(radix: Attribute<Int>): Attribute<Int?>

toLong

Same as toLong, but accepts Attribute and returns a new Attribute.

fun String.toLong(radix: Attribute<Int>): Attribute<Long>

toLongOrNull

Same as toLongOrNull, but accepts Attribute and returns a new Attribute.

fun String.toLongOrNull(radix: Attribute<Int>): Attribute<Long?>

toLowerCase

Same as toLowerCase, but accepts Attribute and returns a new Attribute.

fun String.toLowerCase(locale: Attribute<Locale>): Attribute<String>

toPattern

Same as toPattern, but accepts Attribute and returns a new Attribute.

fun String.toPattern(flags: Attribute<Int>): Attribute<Pattern>

toRegex

Same as toRegex, but accepts Attribute and returns a new Attribute.

fun String.toRegex(options: Attribute<Set<RegexOption>>): Attribute<Regex>

toShort

Same as toShort, but accepts Attribute and returns a new Attribute.

fun String.toShort(radix: Attribute<Int>): Attribute<Short>

toShortOrNull

Same as toShortOrNull, but accepts Attribute and returns a new Attribute.

fun String.toShortOrNull(radix: Attribute<Int>): Attribute<Short?>

toUpperCase

Same as toUpperCase, but accepts Attribute and returns a new Attribute.

fun String.toUpperCase(locale: Attribute<Locale>): Attribute<String>

trimMargin

Same as trimMargin, but accepts Attribute and returns a new Attribute.

fun String.trimMargin(marginPrefix: Attribute<String>): Attribute<String>

windowed

Same as windowed, but accepts Attribute and returns a new Attribute.

fun <R> any_iterable<R>.windowed(size: Attribute<Int>, step: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(1), partialWindows: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false), transform: (CharSequence) -> R): Attribute<List<R>>

windowedSequence

Same as windowedSequence, but accepts Attribute and returns a new Attribute.

fun <R> any_iterable<R>.windowedSequence(size: Attribute<Int>, step: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(1), partialWindows: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false), transform: (CharSequence) -> R): Attribute<Sequence<R>>

zip

Same as zip, but accepts Attribute and returns a new Attribute.

fun <V> any_iterable<V>.zip(other: Attribute<String>, transform: (a: Char, b: Char) -> V): Attribute<List<V>>