phpbar.de logo

Mailinglisten-Archive

[php] An die REGEX-Profis :)

[php] An die REGEX-Profis :)

Sebastian Bergmann s.bergmann_(at)_seven-sense.com
Sat, 15 Jan 2000 18:31:43 +0100


Thomas Feyrer schrieb:
> if(substr($string,-1) == "*") $string = substr($string,0,-1);

Danke!

-- 
   ___  ___  ___      ___   ___| ___  ___  __, ___   ___ 
  l___|l   '(___|___)l__/__(___|(___|(   |l___l__/__l   '
 `----'--------------------------------------------------------------- 2F -
 [ mail : gravedancer_(at)_rc5.de ]         [ site : http://gravedancer.rc5.de ]


php::bar PHP Wiki   -   Listenarchive