Re: Getting all letters not in a string?

From: Date: Thu, 27 Jun 2002 08:44:19 +0000
Subject: Re: Getting all letters not in a string?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-104118@lists.php.net to get a copy of this message
On Thursday 27 June 2002 16:12, Leif K-Brooks wrote: > What is the easiest way to get an array of all letters not in a string? > I.e. $array = notinstring("abc"); //returns array of: > d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z One way is to convert both entities into arrays then use array_diff(). -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Life is a game of bridge -- and you've just been finessed. */

« previous php.general (#104118) next »