substr kotlin code example
Example: kotlin substring
val name = "James Smith"
// Get just 'James' with subSequence()
val james = name.subSequence(0, 5)
// First argument is inclusive
// Second argument is exclusive
val name = "James Smith"
// Get just 'James' with subSequence()
val james = name.subSequence(0, 5)
// First argument is inclusive
// Second argument is exclusive