Replace sizeof hacks with strlen
Merge pull request #2432 from yebblies/sizeof

[DDMD] Replace sizeof hacks with strlen