Set string lenght as len1 if len2 omitted