User Tools

Site Tools


rsubstr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rsubstr [2007/03/02 02:32] (current)
Line 1: Line 1:
 +# $EPIC: rsubstr.txt,​v 1.3 2007/03/02 02:32:04 jnelson Exp $
 +======Synopsis:​======
 +$__rsubstr__(<​substring>​ <search string>)
 +
 +======Technical:​======
 +The <​substring>​ argument is a [[what is a word|dword]] which is unlike most
 +other functions.
 +
 +This function searches for <​substring>​ from the end of  <search string>
 +and returns the $[[index]]() to it.
 +
 +======Practical:​======
 +They can be used to search for specific things in output from a server,
 +or as an alternative to $match(*substring* searchstring).
 +
 +======Returns:​======
 +  * -1 if <​substring>​ not found in <search string>
 +  * index to <​substring>​ in <search string> if found
 +
 +======History:​======
 +The $rsubstr() function first appeared in EPIC4pre1.016.
 +
  
rsubstr.txt ยท Last modified: 2007/03/02 02:32 (external edit)