🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

getTextAfterSelection

Returns the text after the selection.

getTextAfterSelection

Source set: Common
public fun TextFieldValue.getTextAfterSelection(maxChars: Int): AnnotatedString

Returns the text after the selection.

Parameters

maxChars maximum number of characters (exclusive) after the maximum value in TextFieldValue.selection.

Content updated: