Pair density wave characterized by a hidden string order parameter