Looking at the following 1 line of code below how can I write a function that strips everything off after the first occurence of a space.
$temp="s:/homeview/branch1/images/99/fplan.wmf s c";
I need $temp to only contain
s:/homeview/branch1/images/99/fplan.wmf
Thanks in advance
Rowan