Beginning Your Kotlin Adventure ... Playing with Functions ... To parse a string into enum, use the valueOf method (like in Java):
確定! 回上一頁