Does Solaris come with Perl already installed?
If not, then you could try using awk:
<code><pre>echo "This is Hello World" | awk '{print index($0, "Hello");}'
9</pre></code>
If the
string you are looking for is variable, you could set it programatically:
<code><pre>SEARCH_FOR="Hello";
echo "This is Hello World" | awk -vFIND="$SEARCH_FOR" '{print index($0, FIND);}'
9</pre></code>
Regards, Andrew