I'm wondering is there some method or methods combo that could obtain these results.
What I meant is that you have a string ex. "Hello world, how are you?"
And I want to achieve following functionality, to get start and end index of substring
in that string.
ex. substring = "world", and start index would be 6, and end index 10
Is there something like this in standard kotlin libraries?