Difference between revisions of "Manual:DIL Manual/right()"
Jump to navigation
Jump to search
(XML import) |
(XML import) |
||
| Line 1: | Line 1: | ||
| + | <span id="bfright"></span> | ||
| + | '''Function:''' <i><!--CODE-->string right ( o : string, r : integer );</i><!--ENDCODE--> | ||
| + | <!--TERM--> '''o''' | ||
| + | <!--DEFINITION--> the original string to be parsed | ||
| + | <!--TERM--> '''r''' | ||
| + | <!--DEFINITION--> The amount of characters to parse out | ||
| + | <!--TERM--> '''return''' | ||
| + | <!--DEFINITION--> the right portion of the string with length r | ||
| + | |||
| + | This function parses the string passed to it and returns the number of characters | ||
| + | from the right defined in its second argument. | ||
| + | '''Example:''' <i><!--CODE-->"Easy" := right ("This is Easy",4);</i><!--ENDCODE--> | ||
| + | |||
| + | ---~---~---~---~---~---~---~---~--- | ||
<span id="bfright"></span> | <span id="bfright"></span> | ||
Latest revision as of 22:34, 4 December 2025
Function: string right ( o : string, r : integer );
o
the original string to be parsed
r
The amount of characters to parse out
return
the right portion of the string with length r
This function parses the string passed to it and returns the number of characters
from the right defined in its second argument.
Example: "Easy" := right ("This is Easy",4);
---~---~---~---~---~---~---~---~---
Function: string right ( o : string, r : integer );
o
the original string to be parsed
r
The amount of characters to parse out
return
the right portion of the string with length r
This function parses the string passed to it and returns the number of characters
from the right defined in its second argument.
Example: "Easy" := right ("This is Easy",4);
---~---~---~---~---~---~---~---~---