I have seen a cool example about it at
Junal vai's blog. Here is a shortcut example of it..
- function name_from_at($string)
- {
- $pattern = "/@([a-zA-Z0-9]+)/i";
- preg_match_all($pattern,$string,$array);
- return $array[0];
- }
Enjoy..... Help the people of Haiti......
No comments:
Post a Comment