is /n counted as one character or two?
ie I want to cut any line breaks from the begining of a message
should it be
while(substr($m essage,0,1)=="\ n") $message=substr ($message,1);
or
while(substr($m essage,0,3)=="\ n") $message=substr ($message,2);
???
ie I want to cut any line breaks from the begining of a message
should it be
while(substr($m essage,0,1)=="\ n") $message=substr ($message,1);
or
while(substr($m essage,0,3)=="\ n") $message=substr ($message,2);
???
Comment