PHP Code:
stock first_char_to_last_char( const input[], output[] )
{
format( output, strlen( input ), "%s%s", input[1], input[0] );
}
example:
PHP Code:
new const string[64] = "abcdefghijklmnopqrstuvwxyz";
new temp[64];
first_char_to_last_char( string, temp );
// now temp[] stores this: "bcdefghijklmnopqrstuvwxyza"
__________________