// URLエンコード
func urlEncode(string: String) -> String {
return string.addingPercentEncoding(withAllowedCharacters: NSCharacterSet.urlQueryAllowed)!
}
// URLエンコード
func urlEncode(string: String) -> String {
return string.addingPercentEncoding(withAllowedCharacters: NSCharacterSet.urlQueryAllowed)!
}