|
From: Chris S. <san...@us...> - 2009-06-25 14:19:39
|
Update of /cvsroot/stack/stack-1-0/scripts In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv29199/scripts Modified Files: stackUtility.php Log Message: Index: stackUtility.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackUtility.php,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** stackUtility.php 18 Jan 2007 10:49:20 -0000 1.49 --- stackUtility.php 25 Jun 2009 14:19:29 -0000 1.50 *************** *** 98,108 **** * * @param int $start The position of the string to start searching at. ! * @param char $leftc Finds the first occurence of this character ! * @param char $rightc Finds the first occurence of this character after $leftc * @return array Field [0] contains the string between the two characters, Field [1] contains the start position of -1 if it does not exist and Field [2] contains the end position of -1 if there was no match. */ function stack_util_grabbetween($strin,$leftc,$rightc,$start) { // Starting at $start, (a number) ! // Find the first occurance of $leftc, match with an occurance of // $rightc and grab everything in between. // Returns an array: --- 98,108 ---- * * @param int $start The position of the string to start searching at. ! * @param char $leftc Finds the first occurrence of this character ! * @param char $rightc Finds the first occurrence of this character after $leftc * @return array Field [0] contains the string between the two characters, Field [1] contains the start position of -1 if it does not exist and Field [2] contains the end position of -1 if there was no match. */ function stack_util_grabbetween($strin,$leftc,$rightc,$start) { // Starting at $start, (a number) ! // Find the first occurrence of $leftc, match with an occurrence of // $rightc and grab everything in between. // Returns an array: |