The easiest way to get the strings out of sweet potatoes for pie is to puree them while still hot from cooking. Pass them through a ricer or puree them in a blender.