The "Remove from Port" function is used to removing only a particular sequence of characters from the serial port buffer. This function comes in handy when you wish to remove only a particular string of characters and leave the rest for use in another subroutine. To call this function do the following: