![](https://secure.gravatar.com/avatar/5a39f1335b6eff433673ed987859fb24.jpg?s=120&d=mm&r=g)
6 Jan
2005
6 Jan
'05
2:17 p.m.
Am 06.01.2005 um 12:56 schrieb Hans Hagen:
Is there a possibility to strip all invalid chars from a string, so that \SkillField{Erzählen}{0} can define a field named "Erzaehlen" or "Erzhlen" or "Erzahlen"?
just make me s small test file there is lots of sanitizing code/trickery out there, but need a simple self contained example
Hm, it doesn't really have anything to do with my application (defining widget fields), so... \starttext \def\MyIndex#1{\index[\CLEAN{#1}]{#1}} \MyIndex{Ätsch} % should expand to \index[Atsch]{Ätsch} or \index[Aetsch]{Ätsch} \stoptext Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net