View Single Post
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 02-02-2014 , 12:13   Re: SplitString the other part
Reply With Quote #4

Something like this?

PHP Code:
stock bool:SplitStringRight( const String:source[], const String:split[], String:part[], partLen )
{
    new 
index StrContainssourcesplit ); // get start index of split string
    
    
if( index == -// split string not found..
        
return false;
    
    
index += strlensplit ); // get end index of split string    
    
strcopypartpartLensourceindex ] ); // copy everything after source[ index ] to part
    
return true;

Not tested.. first try
KissLick is offline