in reply to find text in string
$foo is not an array, it is a scalar. You could use index to find 'bar' in $foo, but that doesn't sound like what you want. Perhaps you should post the rest of you code and some sample data so we can see what you are trying to do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: find text in string
by Anonymous Monk on Sep 13, 2005 at 03:31 UTC | |
by sk (Curate) on Sep 13, 2005 at 03:45 UTC | |
by GrandFather (Saint) on Sep 13, 2005 at 03:43 UTC |