how to get a "sub-string" of text | ScratchStats