In Spain, Portugal, France and other countries, they put a line above letters often called an accent
In Spain, Portugal, France and other countries, they put a line above letters often called an accent
for example
López
In English we write Lopez
with no line.
Also Díaz
In English is written Diaz
When we search in Google in Spain
it ignores these lines and other spelling errores and finds the person or thing easily.
We really really need Ninox to do the same.
It is essential for Ninox to find López and Lopez
If we type in the search as Lopez
or López.
I think this is a good idea from Ninox
5 replies
-
I agree with you..
-
Yes, indeed, quite important !
-
I gree with you to !!
-
+1
-
A possible workaround would be to use the following code in the Global script definition section :
You can then use this function to search for the required information on a Dashboard view (image attached)
function NoAccent(S : text) do S := replacex(S, "Ç", "g", "C"); S := replacex(S, "ç", "g", "c"); S := replacex(S, "è|é|ê|ë", "g", "e"); S := replacex(S, "È|É|Ê|Ë", "g", "E"); S := replacex(S, "à|á|â|ã|ä|å", "g", "a"); S := replacex(S, "@|À|Á|Â|Ã|Ä|Å", "g", "A"); S := replacex(S, "ì|í|î|ï", "g", "i"); S := replacex(S, "Ì|Í|Î|Ï", "g", "I"); S := replacex(S, "ð|ò|ó|ô|õ|ö", "g", "o"); S := replacex(S, "Ò|Ó|Ô|Õ|Ö", "g", "O"); S := replacex(S, "ù|ú|û|ü", "g", "u"); S := replacex(S, "Ù|Ú|Û|Ü", "g", "U"); S := replacex(S, "ý|ÿ", "g", "y"); S := replacex(S, "Ý", "g", "Y"); S end
Here's the reference link for JavaScript RegExp:
https://www.w3schools.com/jsref/jsref_obj_regexp.aspKudos to @Jacques_tur for bringing up this solution in the thread: https://forum.ninox.com/t/h7hrmz2#60hrw9y
Content aside
-
1
Likes
- 2 yrs agoLast active
- 5Replies
- 723Views
-
3
Following