Maybe it's better to get `strlen("\\")` out of the cycle?