Hello,
I am trying to create a formula that checks it a value has a numeric value at the end. If it does I would like to remove it.
For example if I have ABC1, I would like to remove the '1'.
I don't think I have the formula correct:
Could someone help me fix this or provide a better solution.
Thanks.
If at first you don't succeed, then sky diving wasn't meant for you!
I am trying to create a formula that checks it a value has a numeric value at the end. If it does I would like to remove it.
For example if I have ABC1, I would like to remove the '1'.
I don't think I have the formula correct:
Code:
if val(right({UPETRN.BKACCTCODE},1)) >= 0 then
left({UPETRN.BKACCTCODE}, len({UPETRN.BKACCTCODE}) -1)
else
{UPETRN.BKACCTCODE}
Could someone help me fix this or provide a better solution.
Thanks.
If at first you don't succeed, then sky diving wasn't meant for you!