codecraig wrote: > i want to the number of bytes in a string... > > is, len(x) accurate? > > so, x = "hi" > len(x) == 2 ....so that means two bytes? > > thanks > As long as type(x)==str, this is correct. --Irmen