Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I count .'s in a string? 1

Status
Not open for further replies.

farley99

MIS
Joined
Feb 12, 2003
Messages
413
Location
US
How do I count .'s in a string?

if(number_of_.'s(sub.domain.com)>1))
echo "this is a subdomain";

What would the correct syntax be?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top