C++ How to get substring after a character? December 7, 2023 by Tarik Try this: x.substr(x.find(":") + 1);