a string that ends with 'b'
bで終わる文字列
ですが
end in でもよさそうで、ネット上には使用例もありますが、
どちらかというと「end in 災難」というパターンが多く、
ここではやや適さないと思います。
a string that starts with "a" and ends with "x"
などの使い方がよさそうです。
Java の String クラスのメソッドも endsWith になっていますし。
同様に「~(活動)で終了する」などのような場合も end with がよさそうです。
参照:With
0 件のコメント:
コメントを投稿