i need some help in g lcd with a keypad 4x4

Here are two functions I'm going to see if I can get put into the new LCD library that I have. You can adapt these to fit to your library.

void ClearSect(uint8_t row, uint8_t start, uint8_t stop)
{
  for(start; start !=  stop; start++)
  {
    lcd.setCursor(start, row);
    lcd.print(' ');
  }
}

void ClearLine(uint8_t row, uint8_t size) 
{
  for(uint8_t start = 0; start < size; start++)
  {
    lcd.setCursor(start, row);
    lcd.print(' ');
  }
}