We know what your requirement is as it relates to the "t". We don't know why you are doing various things you are doing (like trying to convert it from uppercase to lowercase) but we know why your "t" has become a "T".

Forget the CAPS stuff for this. It is a Red Herring.

Quote:

PULL

Code:

PULL ;
template_list

PULL reads a string from the head of the external data queue. It is just a short
form of the instruction:

Code:

PARSE UPPER PULL ;
template_list

That is the bit from the manual which Pedro suggested you locate.

When you use PULL it is exactly the same as if you code PARSE UPPER PULL. Guess what the UPPER does? I suggest you follow Pedro's suggestion and read the manual.

If you are only going to look at the Trace output as far as you feel like, what was the point? You need to look at it until the data "goes bad", not until it passes the code that you "know" is wrong with everything (except perhaps the Region=, that is now unclear what is OK for you) OK.