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.
私はantを使用しています.antのindexofと同様の機能があるかどうか誰か教えてください。
インデックスが 1 より大きい場合は、別のロジックを実装する必要があります。
ありがとう
あなたが何をしたいのか正確にはわかりませんが、ant オファーtranslateとreplaceタスク、およびscriptJavaScript を呼び出すことができるタスクです。マニュアルを参照してください。
translate
replace
script