Raised This Month: $ Target: $400
 0% 

Cut String


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 12-20-2008 , 13:31   Re: Cut String
Reply With Quote #4

PHP Code:
stock first_char_to_last_char( const input[], output[] )
{    
    
formatoutputstrleninput ), "%s%s"input[1], input[0] );

example:
PHP Code:
new const string[64] = "abcdefghijklmnopqrstuvwxyz";
    
new 
temp[64];
first_char_to_last_charstringtemp );

// now temp[] stores this: "bcdefghijklmnopqrstuvwxyza" 
__________________
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode