Thread: String help!
View Single Post
Old 02-22-2008, 08:36 PM   #5 (permalink)
Kalle
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

In php5 you can say:

PHP Code:
$char_list str_split('TalkPHP');
/**
$char_list = Array('T', 'a', 'l', 'k', 'P', 'H', 'P');
*/ 
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote
The Following 3 Users Say Thank You to Kalle For This Useful Post:
Alan @ CIT (02-22-2008), pabin (02-23-2008), ReSpawN (02-23-2008)