I would like to use the case-sensitive word as multiple separator for autocomplete.
right now, I am using separator as "AND".
multipleSeparator : " AND ",
Can I make it case开发者_StackOverflow社区-sensitive.
Please help, Thanks in advance.
Finally I got the answer in easy way,
Before splitting the words with multiple seperator, I replaced all the areas of multipleTerm value to Upper Case.
value = value.replace(/ and /ig, " AND ");
Thanks guys for your effort.
精彩评论