using System;
public class Test
{
public static void Main()
{
string s = "I am Bob";
Console.WriteLine(s.Replace(" ", "").Length);
Console.WriteLine(s.Replace(" ", null).Length);
Console.WriteLine(s.Replace(" ", string.Empty).Length);
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCXN0cmluZyBzID0gIkkgYW0gQm9iIjsKICAgICAgICAgICAgICAgIENvbnNvbGUuV3JpdGVMaW5lKHMuUmVwbGFjZSgiICIsICIiKS5MZW5ndGgpOwogICAgICAgICAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUocy5SZXBsYWNlKCIgIiwgbnVsbCkuTGVuZ3RoKTsKICAgICAgICAgICAgICAgIENvbnNvbGUuV3JpdGVMaW5lKHMuUmVwbGFjZSgiICIsIHN0cmluZy5FbXB0eSkuTGVuZ3RoKTsKCX0KfQ==