Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
簡単な質問ですが、indexof()は文字列文字の最初の出現位置を見つけますか? 文字列文字の最後の発生はどうですか?
ありがとう
まさしく文字通り:
.lastIndexOf()