strlen and setrange commands