Report question

Question: Pascal substr equivalent