Unless I'm getting it confused with another language, there should be a proc to get text, based on the text, a start location and a length, but I've forgotten it. If anyone knows, or if I am indeed getting confused with a different language, please reply.

I did look it up in the F1 of DM, and also the DM guide but couldn't find it.