結果 : explain two string manipulation function