Not applicable
2012-03-21
03:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
remove spaces from string
hi all,
i have a string: 'a b c'
which function do i use to remove the spaces in this string, to retrieve 'abc' ?
thanks a lot!
35,839 Views
1 Solution
Accepted Solutions
Partner - Champion
2012-03-21
03:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 Replies
Partner - Champion
2012-03-21
03:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Try using replace
Replace('a b c',' ','')
Celambarasan
Master
2012-03-21
03:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think Celambarasan is right. Just want to add more on this TRIM(REPLACE(Field,' ',''))
Regards,
Sokkorn
Specialist II
2012-03-21
05:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
i have another option
purgechar('a b c',chr(32))
Regards,
Sivaraj S