Returns a string containing a substring of consecutive characters from another string.
For a description of the business object categories, see Notes on "Enabled For".
|Business Object Category||Yes/No|
|Business Rules: Before-Save Rules||Yes|
|Business Rules: Calculation Rules (After Save, with or without Also Recalculate on Load)||Yes|
|Business Rules: Calculation Rules (Before Save or Always, without Also Recalculate On Load)||Yes|
|Business Rules: Calculation Rules (Before Save or Always, with Recalculate On Load)||Yes|
|Business Rules: Editing Rules||Yes|
|Business Rules: Initialization Rules||Yes|
|Business Rules: Read Only Rules||Yes|
|Business Rules: Required Rules||Yes|
|Business Rules: Validation Rules||Yes|
|Quick Actions (except UI Quick Actions)||Yes|
|UI Quick Actions||Yes|
|Search/Dashboard without field references||Yes|
|Search/Dashboard with field references||Yes|
The text from which to extract the substring.
The position of the first character to include in the output. The first character starts with position 1.
(Optional) The length of the substring.
$(Substring(Symptom, 21, 7))
If the Symptom field in the current business object contains the following:
Printer seems to be working fine for others. His setup for the printer is fine.
It returns the substring starting with the 21st character and continues for 7 characters. The result of this function in this example is working.
See also Substring0().