Difference between revisions of "Manual:DIL Manual/right()"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(No difference)

Latest revision as of 13:08, 27 May 2020


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);
---~---~---~---~---~---~---~---~---