Skip to main content
Solved

Hi ! I would like to remove the "," at the very beginning of the concatenation.

  • April 1, 2022
  • 3 replies
  • 36 views

 

I tried with the transformer "substringextractor" but I remove the "1" from my thousandth when there is no comma at the beginning.

 

I saw that there was a transformer "LastSectionOfStringRemover", maybe it exists for the beginning?

 

image

Best answer by chrisatsafe

Hi @clozanolpz​ ,

You can use a StringReplacer in the Replace Regular Expression Mode with the following text to replace:

^,

image

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

chrisatsafe
Contributor
Forum|alt.badge.img+2
  • Contributor
  • 606 replies
  • Best Answer
  • April 1, 2022

Hi @clozanolpz​ ,

You can use a StringReplacer in the Replace Regular Expression Mode with the following text to replace:

^,

image


takashi
Celebrity
  • 7843 replies
  • April 2, 2022

Alternatively, you can also use the AttributeTrimmer to remove a specific character from the left side and/or right side of a string.


  • Author
  • 1 reply
  • April 12, 2022

Hi Chrisatsafe and Takashi!

Both solutions work, thank you !