Can anyone explain what does the below function do exactly?
Trim(Col1,"",'T')
Trim Function
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
-
- Participant
- Posts: 5
- Joined: Wed Mar 26, 2008 1:06 am
- Location: trivandrum
- Contact:
Re: Trim Function
Hi,
The above function trims the trailing characters,Let's see an example below
Source Field Data : 'DatastageNNN'
Trim('DatastageNNN','N','T')
It will give output as 'Datastage'
After using the trim function it deletes all the Trailing 'N' characters.
The above function trims the trailing characters,Let's see an example below
Source Field Data : 'DatastageNNN'
Trim('DatastageNNN','N','T')
It will give output as 'Datastage'
After using the trim function it deletes all the Trailing 'N' characters.
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
Well with this answer he got what he wanted but next time he will come back if he finds trim(col1." ",'B'). Unless he reads the documentation.
So, I would suggest to read the documentation to know about the other option, even if you can't remember, you will know where to find it when you need.
So, I would suggest to read the documentation to know about the other option, even if you can't remember, you will know where to find it when you need.
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.![Wink :wink:](./images/smilies/icon_wink.gif)
Genius may have its limitations, but stupidity is not thus handicapped.
![Wink :wink:](./images/smilies/icon_wink.gif)