Quote:
Originally Posted by kapitana
1 more question .. if possible ... Is there a way to add something like "Mega" before the "Admin" word ? And make it look like: "MegaAdmin" ? ... I took a look at add(dest[],len,const src[],max=0); .. but it concatenates one string onto another and doesn't get my job done ...
|
You cannot
replace 'Admin' with 'MegaAdmin'?
Code:
new text[ 101 ];
formatex( text, sizeof( text ) - 1, "Hi am an Admin" );
replace(text, sizeof( text ) - 1, "Admin", "MegaAdmin" );
__________________