每次传送一个字符 meaning in English
character at a time
Examples
- Character at a time
每次传送一个字符 - If the function , such as string replacement function , accepts both arrays and single characters as arguments , and if your argument list is not too long , consider writing a few redundant replacement statements , passing one character at a time , instead of one line of code that accepts arrays as search and replace arguments
一些函数,比如字符串更换函数,接收数组和单个字符做为参数,并且如果你的参数列表不是很长,斟酌写一些冗余更换语句,每次传送一个字符,代替一行代码接收数组做为查找和更换的参数。 - If the function , such as string replacement function , accepts both arrays and single characters as arguments , and if your argument list is not too long , consider writing a few redundant replacement statements , passing one character at a time , instead of one line of code that accepts arrays as search and replace arguments
一些函数,比如字符串替换函数,接受数组和单个字符做为参数,并且如果你的参数列表不是很长,考虑写一些冗余替换语句,每次传送一个字符,代替一行代码接受数组做为查找和替换的参数。 - If the function , such as string replacement function , accepts both arrays and single characters as arguments , and if your argument list is not too long , consider writing a few redundant replacement statements , passing one character at a time , instead of one line of code that accepts arrays as search and replace arguments
一些函数,比如字符串替换函数,接受数组和单个字符做为参数,并且如果你的参数列表不是很经典,考虑写一些冗余替换语句,每次传送一个字符,代替一行代码接受数组做为查找和替换的参数。