Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

searching a string for occurrence of AT&T

0 views
Skip to first unread message

chadr

unread,
Aug 16, 2010, 10:32:42 AM8/16/10
to
I want to identify strings with AT&T in them. Can't seem to find the
right way to do this due to the &.

I am using the strpos function in this manner:

if (strpos(($string), 'AT&T')) > 0)

I don't need to input or display using http. This is just a php
script that I'll run from the command prompt.

Thanks.

Message has been deleted
0 new messages