well, i guess macro$(lengthof szTest) is probably bad form
so, i modified the code a little bit
mov eax,lengthof szTest
print ustr$(eax),13,10
now, i get 4 for unicode, 5 for ansi
doesn't matter if i use ustr$, sstr$, or str$
my thinking is that 5 is correct, as it should include the null terminator
EDIT - ok, let me try UCSTR