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

Extensions for kotlin.String

chunked

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

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

chunkedSequence

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

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

codePointAt

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

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

codePointBefore

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

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

codePointCount

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

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

commonPrefixWith

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

fun String.commonPrefixWith(other: Field<String>, ignoreCase: Field<Boolean> = com.femastudios.dataflow.util.fieldOf(false)): Field<String>
fun String.commonPrefixWith(other: Field<String>, ignoreCase: Boolean = false): Field<String>
fun String.commonPrefixWith(other: String, ignoreCase: Field<Boolean>): Field<String>

commonSuffixWith

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

fun String.commonSuffixWith(other: Field<String>, ignoreCase: Field<Boolean> = com.femastudios.dataflow.util.fieldOf(false)): Field<String>
fun String.commonSuffixWith(other: Field<String>, ignoreCase: Boolean = false): Field<String>
fun String.commonSuffixWith(other: String, ignoreCase: Field<Boolean>): Field<String>

contains

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

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

contentEquals

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

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

drop

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

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

dropLast

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

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

elementAt

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

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

elementAtOrElse

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

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

elementAtOrNull

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

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

endsWith

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

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

findAnyOf

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

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

findLastAnyOf

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

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

fold

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

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

foldIndexed

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

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

foldRight

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

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

foldRightIndexed

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

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

format

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

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

get

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

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

getOrElse

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

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

getOrNull

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

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

hasSurrogatePairAt

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

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

indexOf

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

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

indexOfAny

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

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

lastIndexOf

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

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

lastIndexOfAny

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

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

matches

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

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

offsetByCodePoints

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

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

padEnd

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

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

padStart

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

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

plusF

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

fun String.plusF(other: Field<Any?>?): Field<String>

prependIndent

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

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

removePrefix

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

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

removeRange

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

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

removeSuffix

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

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

removeSurrounding

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

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

repeat

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

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

replace

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

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

replaceAfter

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

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

replaceAfterLast

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

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

replaceBefore

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

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

replaceBeforeLast

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

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

replaceFirst

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

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

replaceIndent

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

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

replaceIndentByMargin

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

fun String.replaceIndentByMargin(newIndent: Field<String>, marginPrefix: Field<String> = com.femastudios.dataflow.util.fieldOf("|")): Field<String>
fun String.replaceIndentByMargin(newIndent: Field<String>, marginPrefix: String = "|"): Field<String>
fun String.replaceIndentByMargin(newIndent: String = "", marginPrefix: Field<String>): Field<String>

replaceRange

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

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

slice

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

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

split

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

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

splitToSequence

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

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

startsWith

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

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

substring

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

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

substringAfter

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

fun String.substringAfter(delimiter: Field<Char>, missingDelimiterValue: Field<String> = com.femastudios.dataflow.util.fieldOf(this)): Field<String>
fun String.substringAfter(delimiter: Field<String>, missingDelimiterValue: Field<String> = com.femastudios.dataflow.util.fieldOf(this)): Field<String>
fun String.substringAfter(delimiter: Field<Char>, missingDelimiterValue: String = this): Field<String>
fun String.substringAfter(delimiter: Char, missingDelimiterValue: Field<String>): Field<String>
fun String.substringAfter(delimiter: Field<String>, missingDelimiterValue: String = this): Field<String>
fun String.substringAfter(delimiter: String, missingDelimiterValue: Field<String>): Field<String>

substringAfterLast

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

fun String.substringAfterLast(delimiter: Field<Char>, missingDelimiterValue: Field<String> = com.femastudios.dataflow.util.fieldOf(this)): Field<String>
fun String.substringAfterLast(delimiter: Field<String>, missingDelimiterValue: Field<String> = com.femastudios.dataflow.util.fieldOf(this)): Field<String>
fun String.substringAfterLast(delimiter: Field<Char>, missingDelimiterValue: String = this): Field<String>
fun String.substringAfterLast(delimiter: Char, missingDelimiterValue: Field<String>): Field<String>
fun String.substringAfterLast(delimiter: Field<String>, missingDelimiterValue: String = this): Field<String>
fun String.substringAfterLast(delimiter: String, missingDelimiterValue: Field<String>): Field<String>

substringBefore

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

fun String.substringBefore(delimiter: Field<Char>, missingDelimiterValue: Field<String> = com.femastudios.dataflow.util.fieldOf(this)): Field<String>
fun String.substringBefore(delimiter: Field<String>, missingDelimiterValue: Field<String> = com.femastudios.dataflow.util.fieldOf(this)): Field<String>
fun String.substringBefore(delimiter: Field<Char>, missingDelimiterValue: String = this): Field<String>
fun String.substringBefore(delimiter: Char, missingDelimiterValue: Field<String>): Field<String>
fun String.substringBefore(delimiter: Field<String>, missingDelimiterValue: String = this): Field<String>
fun String.substringBefore(delimiter: String, missingDelimiterValue: Field<String>): Field<String>

substringBeforeLast

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

fun String.substringBeforeLast(delimiter: Field<Char>, missingDelimiterValue: Field<String> = com.femastudios.dataflow.util.fieldOf(this)): Field<String>
fun String.substringBeforeLast(delimiter: Field<String>, missingDelimiterValue: Field<String> = com.femastudios.dataflow.util.fieldOf(this)): Field<String>
fun String.substringBeforeLast(delimiter: Field<Char>, missingDelimiterValue: String = this): Field<String>
fun String.substringBeforeLast(delimiter: Char, missingDelimiterValue: Field<String>): Field<String>
fun String.substringBeforeLast(delimiter: Field<String>, missingDelimiterValue: String = this): Field<String>
fun String.substringBeforeLast(delimiter: String, missingDelimiterValue: Field<String>): Field<String>

take

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

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

takeLast

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

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

toBigDecimal

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

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

toBigDecimalOrNull

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

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

toBigInteger

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

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

toBigIntegerOrNull

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

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

toByte

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

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

toByteOrNull

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

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

toInt

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

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

toIntOrNull

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

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

toLong

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

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

toLongOrNull

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

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

toLowerCase

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

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

toPattern

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

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

toRegex

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

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

toShort

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

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

toShortOrNull

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

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

toUpperCase

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

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

trimMargin

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

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

windowed

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

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

windowedSequence

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

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

zip

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

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