Something like this?
PHP Code:
stock bool:SplitStringRight( const String:source[], const String:split[], String:part[], partLen )
{
new index = StrContains( source, split ); // get start index of split string
if( index == -1 ) // split string not found..
return false;
index += strlen( split ); // get end index of split string
strcopy( part, partLen, source[ index ] ); // copy everything after source[ index ] to part
return true;
}
Not tested.. first try