Constantizing strings