Exemplo n.º 1
0
        public static void Main()
        {
            var client = new StringCompareClient();

            var result = client.Contains("we", "weweweweoojjj ssdaa");

            Console.WriteLine(result);
        }
Exemplo n.º 2
0
        public static void Main()
        {
            var client = new StringCompareClient();

            var result = client.Contains("we", "weweweweoojjj ssdaa");

            Console.WriteLine(result);
        }
Exemplo n.º 3
0
        public static void Main()
        {
            string searchTerm = "hi";
            string text       = "Hello hi, hi, hellomy name is Mihil.";

            var client = new StringCompareClient();

            var result = client.Contains(searchTerm, text);

            Console.WriteLine("The text: \"{0}\" \nContains word \"{1}\" - {2} times", text, searchTerm, result);
        }
Exemplo n.º 4
0
        public static void Main()
        {
            string searchTerm = "hi";
            string text = "Hello hi, hi, hellomy name is Mihil.";

            var client = new StringCompareClient();

            var result = client.Contains(searchTerm, text);

            Console.WriteLine("The text: \"{0}\" \nContains word \"{1}\" - {2} times", text, searchTerm, result);
        }