GetListOf Models方法提供了一个字符串数组,其中每个字符串表示一种移动电话的型号。
The GetListOfModels method provides an array of strings, where each string represents the model number of a mobile phone.
可以简单地将所有的事情全部封装到一个循环中,并一次移动数据的一部分,直到整个字符串全部处理完成为止。
You could simply wrap the whole thing in a loop, and keep moving data a piece at a time until the whole string has been processed. Here's the revised code to do this.
search的第二个参数是配置字符串bnw,它告诉函数向后搜索,而不是移动游标,也不是封装搜索。
The second argument to search is the configuration string bnW, which tells the function to search backwards but not to move the cursor nor to wrap the search.
应用推荐