# Evaluate is String UpperCase

**URL:** <https://community.easymorph.com/t/evaluate-is-string-uppercase/3856>\
**Category:** General Q&A\
**Created:** [August 23, 2022, 3:57pm UTC](https://community.easymorph.com/t/evaluate-is-string-uppercase/3856 "2022-08-23T15:57:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![adambeltz](https://community.easymorph.com/user_avatar/community.easymorph.com/adambeltz/32/3678_2.png) [@adambeltz](https://community.easymorph.com/u/adambeltz)\
**Post date:** [August 23, 2022, 3:57pm UTC](https://community.easymorph.com/t/evaluate-is-string-uppercase/3856/1 "2022-08-23T15:57:04Z")

</div>

Hi -  
Normally we see instances where we convert data to all upper or all lower or proper case. In my current scenario our main record is ALL CAPS and the bad records are mixed cases.

Scenario I'm trying to evaluate against is is the string all caps Y or N.

Unsure if that is possible. If it is not it may be an interesting feature

---

<div class="post-metadata">

**Author:** ![dgudkov](https://community.easymorph.com/user_avatar/community.easymorph.com/dgudkov/32/5_2.png) [@dgudkov](https://community.easymorph.com/u/dgudkov)\
**Post date:** [August 23, 2022, 4:03pm UTC](https://community.easymorph.com/t/evaluate-is-string-uppercase/3856/2 "2022-08-23T16:03:31Z")

</div>

It should be possible as below:

```
IF [Data] = upper([Data]) THEN "Y" ELSE "N"

```

---

<div class="post-metadata">

**Author:** ![adambeltz](https://community.easymorph.com/user_avatar/community.easymorph.com/adambeltz/32/3678_2.png) [@adambeltz](https://community.easymorph.com/u/adambeltz)\
**Post date:** [August 23, 2022, 4:17pm UTC](https://community.easymorph.com/t/evaluate-is-string-uppercase/3856/3 "2022-08-23T16:17:20Z")

</div>

@dgudkov : I should know better sorry!

---

<div class="post-metadata">

**Author:** ![dgudkov](https://community.easymorph.com/user_avatar/community.easymorph.com/dgudkov/32/5_2.png) [@dgudkov](https://community.easymorph.com/u/dgudkov)\
**Post date:** [August 23, 2022, 4:37pm UTC](https://community.easymorph.com/t/evaluate-is-string-uppercase/3856/4 "2022-08-23T16:37:38Z")

</div>

One more option: use keepchars():

```
[Data] = keepchars([Data], " ABCDEFGHIJKLMNOPQRSTUVWXYZ") //added space as well

```
