Long ago I decided that strlen() was simply not in the critical path for virtually any program. A few nanoseconds here or there is not going to result in any noticeable improvement for any program other then a benchmark designed to test strlen(). It isn't worth the effort to optimize. -Matt