[PD] string manipulation