Good afternoon,
I have to check a screen field that is only 13a, but the total length of the data that can be there is 35a.
If there is a change made to the field, and the field's original length coming in was longer than 13, send a message.
I will have data like 'DmsKwvGlRxxxxx ggggg ' in this field.
At first I was just looking for a blank, but was told there could be blanks then letters in there as well. I was thinking %Checkr , looking for a blank and seeing what position that is found in.
If position is greater than 14 works but what if the blank is at position 13 and there is more text after that.
For some reason I am having a hard time seeing the clear way to do this.
Any help would be appreciated. Thank you.
I have to check a screen field that is only 13a, but the total length of the data that can be there is 35a.
If there is a change made to the field, and the field's original length coming in was longer than 13, send a message.
I will have data like 'DmsKwvGlRxxxxx ggggg ' in this field.
At first I was just looking for a blank, but was told there could be blanks then letters in there as well. I was thinking %Checkr , looking for a blank and seeing what position that is found in.
If position is greater than 14 works but what if the blank is at position 13 and there is more text after that.
For some reason I am having a hard time seeing the clear way to do this.
Any help would be appreciated. Thank you.
Comment