Documentation / dataflow / com.femastudios.dataflow.extensions / commonSuffixWith
Go to reference


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

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

Calling this function is equivalent to use transform and calling commonSuffixWith in the transformation function.

This is simply a convenience function.

See Also