Hey everybody.. been awhile since I got a chance to do any programming so of course, when out of the loop, you forget things.
I've recently been trying to separate some articles into specific categories. So far all is well, except!
I added a ":" into my array after each returned value so that I could explode the line and get each value separate. Now my last value has the : in it. eg.
Holidays, Bible Verses, Ellen White Material, Images :
I want to run a command to remove the colon and space at the end of this variable. Anyone know how I can go about doing that?
I think rtrim() only gets rid of whitespace, does it not?
I've recently been trying to separate some articles into specific categories. So far all is well, except!
I added a ":" into my array after each returned value so that I could explode the line and get each value separate. Now my last value has the : in it. eg.
Holidays, Bible Verses, Ellen White Material, Images :
I want to run a command to remove the colon and space at the end of this variable. Anyone know how I can go about doing that?
I think rtrim() only gets rid of whitespace, does it not?