Distinguishes whether ASCAN () small and big letters?
What to do to make this function distinguish big and small letters?
Distinguishes whether ASCAN () small and big letters?
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Distinguishes whether ASCAN () small and big letters?
You can use f.e.
This find every "MAYER" or "mayer" or "Mayer" .or. ...
Code: Select all
aArray:={{"Mayer","Kurt"},{"MAYER","KONRAD"}}
p:=AScan(aArray,{|a| upper(a[1])=="MAYER"})
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: Distinguishes whether ASCAN () small and big letters?
I could not do that ASCAN () distinguish large and small characters. Do not pray and SET EXACT and SET LEXICAL. Had to compare items with Creed on ASCII, then everything worked as I wanted:
Code: Select all
M_Symb = ASC(SUBSTR(Fv, w, 1))
IF ASCAN(A_SymbCls, M_Symb) = 0
AADD( A_SymbCls, M_Symb) // Массив наименований градаций класс.шкал (классов)
ENDIF