"S1-4335".match(/^S1-433$/)
It will not match.
Prakash Ranganthan於 2012年11月28日星期三UTC+8下午2時38分10秒寫道:
Hi friends I use to match two string whether it matches exactly but sometimes it didn't like--var a = "S1-4335";var b= "S1-433";var result = a.match(b);actually it matches but it should not match since the both are not exactly same. Please guide me how to proceed with this. Thanks in advance.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.