E embaliasalmem New Member Jun 10, 2012 #1 \[code\]$vari = "testing 245";$numb = 0..9;$numb_pos = strpos($vari,$numb);echo substr($vari,0,$numb_pos);\[/code\]The $numb is numbers from 0 to 9Where am I wrong here, all I need to echo is testing
\[code\]$vari = "testing 245";$numb = 0..9;$numb_pos = strpos($vari,$numb);echo substr($vari,0,$numb_pos);\[/code\]The $numb is numbers from 0 to 9Where am I wrong here, all I need to echo is testing