use strlen() for calc str length