consumeNumber

fun consumeNumber(amount: Int): String

Consume amount characters from this cursor, returning them as a String. Will stop consuming and return when the cursor runs out of characters, instead of throwing.

Returns an empty string if no characters remain.