Here's a way you can do it without using copy or the name & number string variables.
PHP Code:
new szString[ 96 ] = "the user name 5000";
new iLen = strlen( szString ) , iPos;
for( iPos = iLen - 1; iPos >= 0; iPos-- )
{
if( szString[ iPos ] == ' ' )
{
szString[ iPos ] = EOS;
break;
}
}
server_print( "^"%s^" ^"%s^"" , szString , szString[ iPos + 1 ] );
__________________