Skip to main content
Best answer

Text split by comma

  • October 23, 2020
  • 4 replies
  • 2450 views

Hello, 

I am trying to format a text separated by commas, but every time the result is just one string. 

I have read the previous answers to this problem and I have already used the “formatter → utilities” option but still gives me the same result. 

While using the utilities option should I add on the separator field [:comma:] ? I ask to be sure, but I have already tried it and I still have a string after using the result on the “formatter text” option. 

On another thread, I also read that by using coding split.() we could obtain the split of the string. Nevertheless, I am not really an expert coding, and I am still struggling. 

Of what I have read the output should be: 

Output = { “Field_name” : result }} 

If the result should depend on the different data given by the split, how should I create my Onput? 

If someone was able to solve this problem without coding, could you please let me know how? 

Best answer by Troy TessaloneBest answer by Troy Tessalone

Try these Zap app settings:

One issue I noticed is that if you split by comma the first segment will include this: “Shot list:”

 

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

Troy Tessalone
Forum|alt.badge.img+14

Please provide examples of your input data that you’re trying to split and the desired output format.

App: Formatter > Text > Split

Article: https://zapier.com/help/doc/how-use-formatter-functions#using-split-text


  • Author
  • Beginner
  • 2 replies
  • October 23, 2020

Hello Troy, 

The Input data is a comment with a dish list 

I just want to have one output per dish to be able to fill in an HTML 

 


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31399 replies
  • Answer
  • October 23, 2020

Try these Zap app settings:

One issue I noticed is that if you split by comma the first segment will include this: “Shot list:”

 


  • Author
  • Beginner
  • 2 replies
  • October 23, 2020

It’s perfect thanks !