How to Trim a column with multiple words in it using ETL
I need to Trim extra spaces, How can I do that in ETL?
I used the replace text function, but it would remove all spaces.
So, if the column contains " Josh Smith Jarrod ", I want "Josh Smith Jarrod" but I am getting "JoshSmithJarrod".
I am not looking for SQL solution as the end user need it through ETL. Thanks in advance.
0
Comments
-
If you have Magic 1.0, you should be able to use the string function tile to trim spaces.
**If this answer solved your problem be sure to like it and accept it as a solution!
3 -
@Ashleigh is correct.
Here's an ETL2.0 example
TRIM(`Column`, 'CHARACTER TO STRIP')
If you leave off the second parameter it'll strip spaces by default.
Magic 1.0 example:
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**2 -
Thanks guys it worked! @Ashleigh and @GrantSmith I have ETL 2.0! Much appreciated !
1
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 663 Datasets
- 119 SQL DataFlows
- 2.3K Magic ETL
- 823 Beast Mode
- Visualize
- 2.6K Charting
- 86 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 87 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 117 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive