Sign up
Log in
My Platform
Tools
Tools
Go back
Downloads
IPP
Licensing
Learn
Learn
Go back
Training
Welcome
Guided Paths
Training Planner
Courses
Tech Talks
Classroom
Certifications
Documentation
Overview
OutSystems 11
Best Practices
How-to Guides
Community
Community
Go back
Home
Jobs
Forums
Forge
Ideas
Members
Badges
Support
OutSystems.com
Sign up
Log in
Community
›
Ideas
›
Built-in Funtions
Advanced Search
0
Followers
17
Likes
Built-in Funtions
Gonçalo Almeida
Gonçalo Almeida
Consultant
at
+ 3
#819
in Community Rank
Service Studio
Implemented
on 19 May 2011
OutSystems 6.0
Based on these 2 ideas:
https://www.outsystems.com/wisdomofthecrowds/IdeaComment_List.aspx?IdeaId=669
https://www.outsystems.com/wisdomofthecrowds/IdeaComment_List.aspx?IdeaId=396
I propose the following, that would satisfy everybody, I believe:
- The Index funtion could have 2 extra optional parameters:
1 - indicating the direction of the search (left->right or right->left); (Default is left->right);
2 - indicating the Index at wich the search is started at; (Default is 0 or end of string, depending on the direction parameter)
- In the Substr function, the "length" parameter could be optional. If empty than the function assumes "to the end of the string";
Although not as important as the above, I also propose 2 additional built-in math functions who already exist in C#:
- Floor(decimal)
- Ceiling(decimal)
Created on 12 Mar 2011
Comments (2
)
Hugo Bento
20 May 2011
Hugo Bento
Web Developer
at
Wrightia
+ 1
#32 925
in Community Rank
I prefer the: Left(var, length) and Right(var, length) for the simplicity (this maybe a VB perspective).
But you are right on the bubble of the Floor and Ceiling, in my opinion all 4 should be Built-in Functions long time ago.
Pedro Oliveira
26 May 2011
Pedro Oliveira
Tech Demo and Enablement, Director
at
OutSystems
+ 3
#13
in Community Rank
The index built in function was revised with 6.0
views
791
Followers
0
Loading...
Loading
(hidden) New Badge Popup