替换空格
class Solution
{
public string replaceSpace(string str)
{
// write code here
string newStr = str.Replace(" ", "%20");
return newStr;
}
}
替换空格
class Solution
{
public string replaceSpace(string str)
{
// write code here
string newStr = str.Replace(" ", "%20");
return newStr;
}
}