Ah, I think this does it:

          \cldcontext{string.sub("#1",0,1)}%

Automatically expands the macro. Nice.