The ? : is the conditional operator. If the first argument is true, it evaluates and returns the second argument, otherwise it evaluates and returns the third argument.
Your code is roughly equivalent to this:
if (a < b)
{
return c + " ";
}
else
{
return "text" + " ";
}