Searching for one string in another string

后端 未结 3 2034
执笔经年
执笔经年 2020-12-20 04:37

Let\'s say I have String Table that have a few strings (like mother, father, son) and now in this String Table I want to find every word that contains string \"th\" for exam

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-20 04:47

    Use the contains or indexOf methods, depending on whether you need the position.

提交回复
热议问题