I'm trying to make a gani set, but its from the ganis folder. I need to know how to do:
PHP Code:
temp.foo = fly.gani;
setani(temp.foo,NULL);
This is just an example of the situation im in. I just need help on how to removed the .gani suffix from a string. If anyone can help PLEASE do. I am loading it from a folder. So I cant really edit the string (I think).