how to check if string start with {SOME_STRING}

前端 未结 0 1581
走了就别回头了
走了就别回头了 2021-01-13 19:10

I would like to return true if string starts with "{SOME_STRING}". examples of true returned:

{A}
{AB}
{}
{ABC}

otherwise, return f

相关标签:
回答
  • 消灭零回复
提交回复
热议问题