Replaced right_cast<> with stof and stoul
Replaced starts_with with substr