swift Comment faire pour supprimer facultatif Chaîne de Caractères

Comment puis-je supprimer le Caractère Facultatif


let color = colorChoiceSegmentedControl.titleForSegmentAtIndex(colorChoiceSegmentedControl.selectedSegmentIndex)

println(color) //Optional("Red")

let imageURLString = "http://hahaha.com/ha.php?color=\(color)"
println(imageURLString)
//http://hahaha.com/ha.php?color=Optional("Red")

Je veux juste sortie "http://hahaha.com/ha.php?color=Red"

Comment puis-je faire?

hmm....

InformationsquelleAutor hahaha | 2014-10-13