for example if i have a varchar in sql with the data hello123 how can i out put it so that it will seperate it into two variables $textstuff and $numberstuff?
anyhelp would be g8ly appreciated.
Thanks
Moderator: General Moderators
Code: Select all
$newText = split("їA-Za-z]*ї0-9]*", $text);
$textstuff = $newTextї0];
$numberStuff = $newTextї1];