I want to use the function search_excerpt() to generate excerpts. Unfortunately this function is returning exactly same text as I submit. For example I tried this:
$test = (search_excerpt('test', 'this is a test'));
print $test;
This is returning "this is a test".
I was expecting more something like:
"this is a test"
What is wrong in my code?