How can I get part of string?

There is a substr method you can use:

If you want to get the rest of a string you can omit the second argument.

Related pages