Hi rekha,

Now I got your doubt.

Let us assume you have stored your content from database into variable "src" and the string that you are going to search in "src" is stored in variable "str".

If you have special characters in src, you no need to worry. But if you have special characters in str, then escape them(ie: replace '+' with '\+').