Quantcast
Channel: starts with inside switch statement Kotlin - Stack Overflow
Viewing all articles
Browse latest Browse all 5

starts with inside switch statement Kotlin

$
0
0
when(message) {    .startsWith("hey")}

How do I check if my string starts with a certain word inside a switch statement in Kotlin?


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>