I usually do it like Eddie said. If you want really good clean fiber, you can boil it for a little while and every bit of the green gunk will come off and leave just the clean white fiber. Seems to strengthen it a little, too. Yucca fiber isn't as strong as dogbane or milkweed, (at least the variety we have here isn't,) but it makes good cordage.