You don't replace the PORTB with "PORTB", you shouldn't need to.
PORTB is a constant that contains the register number for the B port. "PORTB" is a string that the Arduino has not way of knowing what it means.
Why do you want to replace the constant with the string>