doubledee Posted April 25, 2011 Share Posted April 25, 2011 In Visual Basic there is a Left() function which returns ___ characters from a string starting at the left. How do I return "Washing" from the string "Washington, George"? Debbie Link to comment https://forums.phpfreaks.com/topic/234708-is-there-a-left-function/ Share on other sites More sharing options...
Pikachu2000 Posted April 25, 2011 Share Posted April 25, 2011 PHP has substr, and MySQL has LEFT(). Link to comment https://forums.phpfreaks.com/topic/234708-is-there-a-left-function/#findComment-1206126 Share on other sites More sharing options...
doubledee Posted April 25, 2011 Author Share Posted April 25, 2011 Okay, thanks. Debbie Link to comment https://forums.phpfreaks.com/topic/234708-is-there-a-left-function/#findComment-1206128 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.