 |
|
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
|

12-20-2008
, 13:41
Re: Cut String
|
#6
|
Quote:
Originally Posted by Exolent[jNr]
PHP Code:
stock first_char_to_last_char( const input[], output[] )
{
format( output, strlen( input ), "%s%c", input[1], input[0] );
}
|
PHP Code:
stock move_chars( const input[], char_num, output[] )
{
formatex( output, strlen( input ), "%s%s", input[charnum], input );
}
|
|
|
|