hi, i wondered if it would be possible to add a rtrim to search input?
TIA
rtrim to search input [DENIED]
Moderator: AniDB
It was requested before: trim search submissions [DENIED]
I agree.permidion wrote:its only a bother in my opinion
I can see exp's point of view, for instance if you did a search by "angel" you would get Evangelion as a result, but if you put in spaces you could restrict it to the word itself.
The challenge is when the space is at the beginning or end of the string. Here is an example, if you search for "Campus" (no spaces) you get the following list:
- Bakuen Campus Guardress
- Campus
- Combustible Campus Guardress (see: Bakuen Campus Guardress)
- Nightmare Campus
- Bakuen Campus Guardress
What would be ideal is if a trailing space could be either a space or end of string. Similarly a leading space should be treated as a space or a beginning of string.
For this case way "Campus " and "Campus" would return the same results. This would solve peoples' issues with an accidental trailing space, because usually that space would be an end of string, and this would make it match appropriately.
BTW, exp, if you consider this, but need help with the SQL, just post it and we can figure it out.