You can divide the string by' \' to get the last one.
You can also find the position of the last' \' and remove the following characters.
Others didn't expect to see some functions of String class for the time being.