urlDecode method
将字符串进行url解码
返回结果: 返回解码后的字符串内容。
示例:
print('%E7%A9%BA%20%E6%A0%BC'.urlDecode()); // 空 格
Implementation
String urlDecode() {
return Uri.decodeFull(this);
}
将字符串进行url解码
返回结果: 返回解码后的字符串内容。
示例:
print('%E7%A9%BA%20%E6%A0%BC'.urlDecode()); // 空 格
String urlDecode() {
return Uri.decodeFull(this);
}