bperrybap: I think you confusing this with the strlen() function.
Indeed I was thinking of strlen(). Thanks.