$kat = (string)$Product->Kategori1;

bu şekilde almayı dene, ayrıca boşluk vs. geliyorsa strpos ile kullanman daha mantıklı olur