I have a text with lower and upper case charachters.
I want to to a replace op a text with another text.
The problem is that I don't know this text is upper or lower case.
How can I replace only that text,and leave the other case normal?
If I do
- Code: Select all Expand view
- result = strtran(upper(text),alltrim(upper(oldtext)),alltrim(upper(newtext)))
than everything is upper-case.