Hello, I want to know whether the requested URL contains a query string or not how to do it?
You can use the method directly
OR
< P> You can check whether your URL is a query string or it is "?" Or "?" Find the index on the characterOn sharing, your result must be less than 1 in the array, and if you take the index route, the index should be greater than 0, because the first letter is a "?" Assuming that you will have the correct URL entered to check the query string.
Comments
Post a Comment