samuel
03/21/2021, 8:31 PMString such as toInt toLong etc?. I can see the file and package they are contained in here but i am not sure how to actually access them, could anyone provide a hint?Youssef Shoaib [MOD]
03/21/2021, 8:51 PMString::toInt and String::toLong should sufficesamuel
03/21/2021, 8:53 PM<http://String.to|String.to>*() at runtime insteadYoussef Shoaib [MOD]
03/21/2021, 8:56 PMStringsKt as the static class and get all the static functions of it, then filter them by what their second parameter is (because the first parameter will be string) and then simply just reflectively call that functionsamuel
03/21/2021, 9:05 PMStringsKt the regular toInt or toLong etc functions seem non existent, seems the alternative is to use the OrNull version i.e toIntOrNull , that could definitely work for my usecase. I do still wonder why the former seems non existent