Re: string
| From: | Kyle Gibson | Date: | Sat, 30 Nov 2002 05:12:38 +0000 |
| Subject: | Re: string | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126517@lists.php.net to get a copy of this message | ||
hi everyone.. how to get the part of string and make it into a variable.. sample :$x = substr("determine",-4); For more information on SUBSTR, http://www.php.net/manual/en/function.substr.php ;) -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/"determine" now, i want to take just "mine" or 4 word from right, or "deter" (for left function).and after i got it, i want to make the "mine" into $x variable my mind.. $x = "mean" help please...