The proper/fastest way for doing such single-to-multiple letters conversions is using CNLS utility to create customer translation table (say "yNoUmlauts"), and the to use $ZCVT(text,"O","yNoUmlauts") for translation of the input text. (And/or $ZCVT(text,"I","yNoUmlauts") for translation it back, if it ever made any sense and possible).

If I would be from Germany, and know German language much better (besides these couple of sentences I'm aware of) then I could be of better help here, and might be create this customized CNLS translation table. But it is not that case. I could only point to the DOCBOOK KnowledgeBase article concerning this process briefly:

http://127.0.0.1:1972/csp/docbook/DocBook.UI.Page.cls?KEY=ANLS_Translation

Good Luck,
Timur


Dipl.-Ing. Werner Riegler wrote:

hi,

how can I simply replace any german umlaut "ü" with "ue" and so on

set newstr = $TRANSLATE(str, "ü", "ue") ... does not do it - right ?

so what should I use ?
(why isnt it as simple as PHP or C ? ;-[)

help

werner





Reply via email to