English 中文(简体)
标签:的问答
状况指数
原文:IndexAt with condition

I have a string like this: arc boat arc ship arc ship ship arc boat arc and I need to find the index of the first "arc" that follows a "boat". What is the most efficient way to meet this condition ...

热门标签