如何把查詢條件陳述句分段,例如
陳述句:UserName <> "123" and ( Sex="男" or Age > 30 )
輸出: ['UserName <> "123"','and','(',' Sex="男"','or','Age > 30',')']
謝謝!
uj5u.com熱心網友回復:
用 and split 一下,再拼接一次轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/27140.html
標籤:JavaScript
下一篇:網頁前端常用網路狀態碼串列
