Replace specific characters at a specific position in a string

Hi,

I would like to replace a specific character in a string using its position. It's a kind of a cleaning model but I can't manage to perform it in Knime.

For example I have the followings strings in my cells :

  • (u'toto',u'papa')
  • (u'mumy',u'is',u'black')

I would like to have the followings strings in my cells

  • toto papa
  • mumy is black

Thanks in advance for your response

Hi lexignot,

Please find attached a workflow that should answer to your question. It uses a nested expression.

Best,

Vincenzo