strlen -> length

fixes: `WARNING: strlen is deprecated, use length instead.`
Merge pull request #9 from rened/patch-2

strlen -> length