latest iteration. added string.sub

Signed-off-by: ckshepherd <christopher.ks@gmail.com>