How to check if a string/variable begins with a mobile area code?

前端 未结 0 1674
情书的邮戳
情书的邮戳 2021-02-02 08:14

Tried various options, but not working. Javascript.

Need to recognise if a variable begins with "+614" as opposed to "+254", in an IF statement.

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