Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Home
Jobs
Ideas
Members
Mentorship
User Groups
Downloads
Platforms
OutSystems.com
My Platform
Community
Resources
Support
Search in OutSystems
Log in
Sign Up
Community
›
Forge
›
Assets list
›
Rapid Strings
Rapid Strings
Stable version
1.0.3
(Compatible with
OutSystems 11
)
Uploaded
on
15 August 2021
by
5.0
(5 ratings)
Overview
Reviews
Versions
Documentation
Support
Rapid Strings
Documentation
1.0.3
Draft
Highlights :
GetLeft
GetRight
StartWith
EndsWith
Reverse
Repeat
Description:
GetLeft :
Returns a sub-string of 'input' starting from left to the number of Integer 'CharPos' position.
Ex:
Input : ABCDEFGH
CharPos : 03
Output : ABC
------------------------
Input : ABCDEFGH
CharPos : 5
Output : ABCDE
GetRight :
Returns a sub-string of 'input' starting from right i.e end, to the number of Integer 'CharPos' position.
Ex:
Input : ABCDEFGH
CharPos : 03
Output : FGH
------------------------
Input : ABCDEFGH
CharPos : 99
Output : ABCDEFGH
Note : If CharPos is greater than Length of Input, It will return complete string.
StartsWith :
Determines whether a string begins with the characters of a specified string.
returns true if the string begins with the characters, and false if not.
Note:
Method is Case-Sensitive
Ex:
Input : "Hello world, welcome to the universe."
Start : 6
InputSearchValue : "world"
Output : True
------------------------
Input : "Hello world, welcome to the universe."
Start :
InputSearchValue : "world"
Output : False
------------------------
Input : "Hello world, welcome to the universe."
Start :
InputSearchValue : "Hell"
Output : True
------------------------
Input : "Hello world, welcome to the universe."
Start : 7
InputSearchValue : "orl"
Output : True
EndsWith :
Determines whether a string ends with the characters of a specified InputSearchValue .
returns true if the string ends with the characters, and false if not.
Note:
Specify the Length of the string to search. If omitted, the default value is the length of the Input-string
Ex:
Input : "Hello world, welcome to the universe."
Length :
InputSearchValue : "rse."
Output : True
------------------------
Input : "Hello world, welcome to the universe."
Length : 11
InputSearchValue : "world"
Output : True
------------------------
Input : "Hello world, welcome to the universe."
Length :
InputSearchValue : "world"
Output : False
------------------------
Input : "Hello world, welcome to the universe."
Length :
InputSearchValue : ", welcome to the universe."
Output : True
Repeat :
returns a new string with a specified number of copies of the string it was called on.
Reverse :
Reverses a string.
CreateText :
Create Dynamic Text so that the Orignal Text will be feasible for the person to translate the respective text.
Example :
CreateText("Outsystems is a {1} Platform.","Low Code")
CreateText("{1} is a {2} Platform.","Outsystems","Low Code")
Loading...
Loading