Question: is it possible to redirect a visitor on my php page as soon as I received a Postback/Callback? If yes can someone provide me some pointers where to start. Searched in Google for it but found nothing... 

Thanks!

Answer: 
I believe you mean [include?](http://www.ruby-doc.org/core-1.9.2/String.html#method-i-include-3F)
Sorry, found what i was looking for (because of the use of **regexp**):

> 
> index(regexp [, offset]) → fixnum or nil
> 
> 
> Returns the index of the
> first occurrence of the given substring or pattern (regexp) in str.
> Returns nil if not found.
> 
> 
> 

```
"hello".index('lo')            #=> 3
"hello".index('a')             #=> nil
"hello".index(?e)              #=> 1
"hello".index(/[aeiou]/, -3)   #=> 4

```

<http://ruby-doc.org/core-1.9.3/String.html>

i just used a loop checking if the index is nil