javascript compare strings 在 What is the correct way to check for string equality in JavaScript? 的評價
If you want to compare two strings to know if a string comes before or after another string, based on natural sorting, use the < , > , <= , and > ... ... <看更多>