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. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php