Oh thx, I already solved by problem. I used string map But can u tell me wich is faster? I have several options. Once it should replace * and ' ' (space) by a % (for the sql query) And other time it sould searchfor '(', ')', '-', '.', '_' replacew '', '', ' ', ' ', ' ' They are sorted as above + bel...