String searching

From: Date: Sat, 17 May 2008 06:17:01 +0000
Subject: String searching
Groups: php.general 
Request: Send a blank email to php-general+get-274463@lists.php.net to get a copy of this message
I need to find the position of the first character in the string (searching from the end) that is not one of the characters in a set. In this case the set is [0-9a-zA-z-_] I guess to be even more specific, I want to split a string into to parts the first part can contain anything and the second part must be only in the set described above. What is the easiest way to do this? -- Chris W KE5GIX "Protect your digital freedom and privacy, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm" Ham Radio Repeater Database. http://hrrdb.com

« previous php.general (#274463) next »