Show Output
Compare Two Strings from the Beginning Till the End in PHP
"; // The main string is greater than the secondary string echo substr_compare("Blackbird", "Black", 0)."
"; // The main string is less than the secondary string echo substr_compare("Black", "Blackbird", 0); ?>