add string version, elegant
Learn string object and char array difference