Training
Training
Welcome
Guided Paths
Build an App
Training Planner
Courses
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Home
Jobs
Ideas
Members
User Groups
Downloads
Platforms
OutSystems.com
My Platform
Community
Resources
Support
Search in OutSystems
Log in
Sign Up
Back to Ideas
11
Like
Follow Idea
Ricardo Camacho
LastIndexOf Text Function
3111
Views
4
Comments
Implemented
Builtin & User functions
OutSystems 6.0
It would be nice to have a function to return the last occurrence of a specified text string withing another string
Evert van der Zalm
MVP
This function already exist in the text extension
(String_LastIndexOf)
Fernando Sousa
I agree that there should be more built-in functions for common operations like this, instead of having to use an extension.
Ricardo Camacho
IMHO:
1. Using an extension causes a slight detriment in code performance
2. Creates an overhead effort in eSpace configuration
The mapping of native code functions for Text(aka String) objects into a platform based function would speed up development and would also increase performance (although very slightly) but it would provide a substantial increase in conceptual quality.
Pedro Oliveira
Staff
With version 6.0 you use the index function stating you want to search from end, trivially getting that effect.
Log in to comment
Loading...