Forum Documentation Showcase Pricing Learn more

Replace occurrences of a character within a string

Is there an easy way to replace all occurrences of a character within a string or text box. For instance I wish to replace all occurrences of a comma with a white space. Basically I have a property on an Object that is of type “List Of Text”. When I output this, the collection of text is separated by a comma and I need to remove the comma. Hope this helps.

I think you want to use the join option, and replace the comma there by a space

See https://bubble.io/reference#Data.Messages.list.join

When I click on this link I get “this webpage is not available”

Sorry, fixed it

Thanks. Worked perfectly

1 Like