Change the quotes to double quotes:
string jobposting = (jobHeading.Split('in'))[0];
string companyname = (jobHeading.Split('in'))[1];
Becomes
string jobposting = (jobHeading.Split("in"))[0];
string companyname = (jobHeading.Split("in"))[1];
But it would be better to do the split once, and check it, and to include the spaces in the split:
string[] parts = jobHeading.Split(" in ");
if (parts.Length == 2)
{
string jobposting = parts[0];
string companyname = parts[1];
...
}