cancel
Showing results for 
Search instead for 
Did you mean: 

trim_ext

former_member203645
Active Participant
0 Kudos

Hi all,

Can some explain us about the "trim_ext" function with an example?

I see "trim_ext( [in] ToTrim As varchar(255) ) As varchar(255)" in the description but not quite understandable.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member187605
Active Contributor
0 Kudos

Trim_ext does not exist in DS. Are you referring to ltrim_blanks_ext and rtrim_blanks_ext? These functions remove blanks and control characters respectively from the left and the right side of the character string passed as parameter.

former_member203645
Active Participant
0 Kudos

Thanks for the reply.

This what I found in the function screen. DS version is 14.2.4.668

former_member187605
Active Contributor
0 Kudos

A custom function?

former_member203645
Active Participant
0 Kudos

Yes true

former_member187605
Active Contributor
0 Kudos

That means you can check its definition from the Custom Fuctions tab in the Local Object Library.

former_member203645
Active Participant
0 Kudos

Thanks Venken

That's what my question is " the description is not quite understandable to me " so I am looking for an example.

former_member187605
Active Contributor
0 Kudos

How do you expect us to give you an example of a custom function of yours?

Navigate to the the Custom Fuctions tab in the Local Object Library. Right-click the fuction name and select Edit. Post the function definition, somebody might be able to help.

former_member203645
Active Participant
0 Kudos

sorry my bad, forgot it is custom function.