substitute: Limit stringt length.