Comparing Text

How to compare respecting uppercases and lowercases?

when I compare: โ€œHolaโ€ = โ€œhoLaโ€ the result is TRUE.

This is the expression:
2X_c_cc3a1383d5525ba787cd3cbf3dc62462ba974518.png

The comparation result is TRUE

Is this behaviour correct? I guess it worked different, respecting the upper and lower cases

How to compare respecting uppercases and lowercases?

Solved Solved
0 10 965
1 ACCEPTED SOLUTION

One way is FIND([Text1],[Text2])=1 because FIND expression is case sensitive. For exampleโ€ฆ
FIND(โ€œHolaโ€,โ€œHolAโ€)=0 where as FIND(โ€œHolaโ€,โ€œHolaโ€)=1

View solution in original post

10 REPLIES 10

Hi @Fernando_Lopez,
one possible Workaround would be to encode the letters into Numbers like:
SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE("ABab","A","0"),"B","1"),"a","26"),"b","27")
The letters โ€œABabโ€ would give 012627.
The letters โ€œAbaBโ€ would give 027261.
The compare result will be FALSE.

For sure - you will have a very long expression, because you have to SUBSTITUTE() every letter. For example: A-Z substitute with 0-25 and a-z substitute with 26-51.

Instead of โ€œABabโ€ you can put your column name [Texto1] and in the compare expression [Texto2].

One way is FIND([Text1],[Text2])=1 because FIND expression is case sensitive. For exampleโ€ฆ
FIND(โ€œHolaโ€,โ€œHolAโ€)=0 where as FIND(โ€œHolaโ€,โ€œHolaโ€)=1

Thank you @Aleksi โ€ฆ

So, comparing in appsheet plataform is NO case sensitive, Isnโ€™t it?

@Aleksi You always know an easier way. Thank you!

Just found this answer. Thank you so much (itโ€™s my very first problem here).

In generally yesโ€ฆ but for example FIND is case sensitive.

Hi @Aleksi,
Using FIND () is a nice workaround.

@Suvrutt_Gurjar Thanks!

Youโ€™re welcome, happy to help.

Tahnk you all guys !!!

Top Labels in this Space