Thanks so much to the both of you...and yes the field is never blank...so I went with:
if instr({unit.sqlKey},"WEB") >0 then
mid({unit.sqlKey}, instr({unit.sqlKey},"WEB")+3,22) else
mid({unit.sqlKey}, instr({unit.sqlKey},"AFS")+3,22)
(Changed it to the 22 to capture AM-PM)
It appears to be...