Well it is hard to explain,
I searched the internet for the answer, unfortunately I can’t find any, maybe because I don’t know what is it called though.
It’s like
url.CONTAINS
url.STARTSWITH
What’s the capitalized thing called? Class? Object?
Plus, if it’s possible if I can get a list of things to put after url.”Class/Object/Whatever it is called”.
urlis an instance of a class, andcontainsandstartsWithare public variables as they do not have parentheses after them. However, I think you may have accidentally ommitted those, in which casecontains()becomes a member function (aka method aka function) of theurlclass.Both of the example methods you gave are part of the String class. An example usage would be:
I have provided Android sample code and links as you tagged the question Android.