Expand my Community achievements bar.

SOLVED

leading and trailing whitespaces from field?

Avatar

Level 5

How to remove whitespaces, tabs, and other elements that are not part of the content of the field?

I've a column MES of the format: 202309 (for september of 2023) on format string in the schema and string in the configuration of the import activity.

I want to remove whitespaces (tabs, etc) , in order to make indexing on this column faster.  

What would be the best approache?

I'm using Campaign v7 Classic.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @god_prophet 

 

You can use the RTRIM and LTRIM functions to remove whitespaces.

 

Documentation can be found here: List of functions | Adobe Campaign


     Manoj
     Find me on LinkedIn

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hello @god_prophet 

 

You can use the RTRIM and LTRIM functions to remove whitespaces.

 

Documentation can be found here: List of functions | Adobe Campaign


     Manoj
     Find me on LinkedIn