Check if string is a URL?

In indexOf() this cant be achieved , it only checks if "@" is available or not

indexOf() returns the exact index in the string of where the first instance of the given string exists, so yes you can :slight_smile: