|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > String commands > !BLO.-Block-Commands > Content Extraction > String Operations |
MiniRobotLanguage (MRL)
BLO.BlockGetNthContent
Returns the content of the N-th top-level block.
Intention
Retrieves the inner text of the specified (1-based) top-level block number.
Visual Example
{A}{B}{C} (N=2) → "B"
Syntax
BLO.BlockGetNthContent|P1|P2|P3|P4|P5
Parameter Explanation
•P1 – Source string.
•P2 – Start delimiter.
•P3 – End delimiter.
•P4 – N (1-based index of the block).
•P5 – Variable to receive the inner content.
Example
$$SRC={A}{B}{C}{D}
BLO.BlockGetNthContent|$$SRC|'{|'|'}'|3|$$OUT
PRT $$OUT '→ C
ENR.