How to take specific part of a string?

image