: 3492 | 87812 | 9797

Rewrite Trim / FullTrim function 
Now Available: "The Social Software Platform You Already Own" Position Paper from Elguji Software. A must read for every IBM Lotus Software customer.
Use this IdeaSpace to post ideas about Domino Designer.

: 15
: 18
: 3
: Domino Designer
: trim, fullTrim, unicode
: Vladimir Kocjancic 25 Nov 2009
:
: / Email
We are parsing a CSV file we obtain from customer. Now, when importing data, we do Trim / FullTrim on each parameter. Where that kicks us is as apparently customer is now building that CSV from XML and instead of spaces, there are   characters in their data. These are non-breakable spaces in Unicode. And ofc Trim / FullTrim don't cut them off.
 
How about making Trim / FullTrim function to trim all spaces, not just regular one? Oh, and triming tabs would be great as well.



1) Bruce Currier (25 Nov 2009)
I wouldn't make these the default behavior's of the TRIM/FULLTRIM functions, but adding them as optional parameters would be great.
2) Vlad Sh (25 Nov 2009)
@ Bruce
+1
3) Peter Presnell (25 Nov 2009)
I think there are two issues here. One would be removing encoded space characters. That part I agree with.

The second is whether a non-breaking space is removable. I thought the whole point of a non-breaking space was to specifically denote that it should be treated like any other non-space character but visually represent it like a space. I don't favor having trim or fulltrim remove non-breaking spaces.
4) Rob Goudvis (26 Nov 2009)
Yes, but with optional parameters.
5) Dirk Stelloh (26 Nov 2009)
Sounds good, but has to be an option/parameter. Maybe one should be able to add a list of unwanted chars?!
6) Vladimir Kocjancic (27 Nov 2009)
I wouldn't put it as a default behaviour, for sure.

In many other languages, Trim function is way more useful than in LotusScript. Pity, as a small effort could go a long way.










:
:

Buy IdeaJam Today!


You can run IdeaJam in your company. It's easy to install, setup and customize and your employees and customers will immediately see results.

Phone: +1 (360) 450-5022

Email: sales@elguji.com

Learn more >>

Welcome to IdeaJam


IdeaJam is a place where people can post and share their ideas, and gauge the marketability, popularity and viability with input from others.

When an idea gets posted, others can help promote or demote the idea and provide comments. Popular ideas will bubble to the top.

Make your opinion count.

Share


Post your idea - from ways we can improve IBM Lotus Software to things we've haven't even yet thought of.

Vote


Check out other people's ideas and vote on the ones you like best. The community votes. The community decides.


Discuss


Talk about ideas with your peers in the IBM Lotus Community and help make them even better.



4
ideajam ideas - Lotusphere
-5
Make Ideajam database as default application on domino
18
All Design Elements view in Designer
0
Create an AppStore for $1.99 apps
13
Symphony API integration in Agents
5
In the view-quick-search dialog, there should an "advanced search" option to find a document in the current view based on the NoteID or UNID
8
Standardize Definition of Application
12
Cleanup process for mystery problems
3
DDM could benefit from addng Twitter or SMS to Notifications
15
license model for universities and schools (education)
4
Dogear: Plugin for many browsers to store bookmark in dogear
8
Give Domino an up-to-date Servlet Engine
13
Admin Client - Server Console
9
Notes Calendar - Show Calendars
12
I wish FilePath would consistently return a relative path whenever possible
26
Select Category option in Views to tick all documents within a category and sub-categories
11
Calendar overlay: documentation how to overlay application calendar
6
inbox: newest first
7
Lotus Script: record call history for for informative debugging
8
Feed Readers page for Domino
17
Get Rid of "Copy as Table" in instances where it doesn't work
16
Expose the SPR database to customers so others can easily get added to the request
10
Multi value core control







IdeaJam developed by




Hosting by