Converting a string to ASCII

Is there a way to convert a string into ASCII?

For example, say I want to convert the string “pass” to ASCII code. How do I go about that, or is it even possible?

thanks in advance.