$remove removes all occurrences of the given substring(s) from a string and returns the remainder.
Show the download folder as a relative location only if it's a subfolder of $mircdire
Remove the channel from a message
Show the download folder as a relative location only if it's a subfolder of $mircdir
Case-insensitive remove all 'a' from 'aAabcdaaA' //echo -a $remove(aAabcdaaA,a) returns: bcd Case-insensitive remove string 'ac' from 'AaCcX' //echo -a $remove(AaCcX,ac) returns: AcX The first match was at positions 2-3, and no matches were beyond. //echo -a $remove(AaCcX,ac,ac) ... uses string altered by 1st parameter when removing 2nd parameter string. Is equivalent to: //echo -a $remove( $remove(AaCcX,ac) , ac)
Added: mIRC v4.52
Added on: 06 Jul 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.