Hi all
Does the api function FoldString_(#MAP_COMPOSITE ,car,1,result,1 ) which allow to transform an é in e or an ù to u exists in Spiderbasic
Thanks
FoldString_
Re: FoldString_
In SpiderBasic there are no API commands.
Code: Select all
Procedure.s FoldString_(str.s)
; https://stackoverflow.com/questions/990904/remove-accents-diacritics-in-a-string-in-javascript
! return v_str.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
EndProcedure
Debug FoldString_("Crème Brulée")