in reply to substr returning uninitialized value

Me Silly Blind Monkey,

just needed to test for length....
Sorry jumped the gun on post...