Closed stratosn closed 1 year ago
Add example "On scalar": 2) Assuming that A = "The Task force for the Validation and Transformation Language (VTL)": B := instr (A, "for", ,2) B = 16 (or 15, see below)
Re-sequence example on dataset as "3)..".
IMPORTANT POINT TO REVIEW: It should be defined if the first position of the string is considered 0 or 1. The examples show it as 0 (as well as in substr operator description), but if omitted, startPosition parameter defaults to 1, so the first character would never be counted.
Refers to old version of documentation
Issue Description
There is no example of the use of the parameter occurrence in the operator instr.
Proposed Solution
Add an example with the use of the parameter occurrence in the operator instr.