Warning: Invalid argument supplied for foreach() in /home/jihswbiz/public_html/t6.gwilt.org/refDox.php on line 212
Docs-before

 

ReLoad

Keys


Functions

arraybrowsercolorcookiedatetimeDBdebugdeviceDSTequiverrorflagsfontformatgeo
holidayhtmlisjsonmathparsePHPprintsearchsortstringtabletexttracetype
VOTDweatherxml

Function  before   Lines 153-164 (11 lines)Added: 2021-02-11 file  utils.php   Last mod: Fri 2021-05-14 21:45:07

function before ($needle$haystack)
        {
#-k     string  parse
#-      returns the part of $haystack before the 1st $needle
#-      before ('@', 'biohazard@online.ge');
#-              will return "biohazard"
#-c     biohazard dot ge at gmail dot com - https://www.php.net/manual/en/function.substr.php
#-d     2/11/21 Added

        
return substr($haystack0strpos($haystack$needle));
        };

?>