Get the last n elements from a String.



  • String subject - The String to extract from.
  • String separator - What to use as the boundary between elements in subject. This defaults to the space character.
  • Number limit - The subject string will be split into a maximum of limit elements. If limit is negative, all components except the first number specified by limit are returned.


  • String - The elements extracted from subject.

Returns a String produced by extracting limit elements from subject on boundaries formed by separator.

ptpscript/functions/last.txt · Last modified: 2007/02/25 22:04 by dan
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki