Fix bug in getPureString: always do strip.