public static string googleMe(string command) { List<string> word = new List<string>(); string url = "https://www.google.com/search?q="; foreach (string singleWord in command.Split(' ')) { word.Add(singleWord); } if (word[0].ToLower().Equals("google")) { for (int i = 1; i < word.Count; i++) { url += Uri.EscapeDataString(word[i]) + "+"; } return url; } return ""; }
by @awerageguy
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment