I'd thought this would be an easy find on Google and PHP but I'm still stuck.
Newbie and I'm trying to strip characters from my variables.
I have a directory where the names are xxxxx.com and xxxxx.edu and xxxxx.org. I need to have xxxxx as the value.
I thought rtrim($text, ".com"
; would work. What's the alternative?
Newbie and I'm trying to strip characters from my variables.
I have a directory where the names are xxxxx.com and xxxxx.edu and xxxxx.org. I need to have xxxxx as the value.
I thought rtrim($text, ".com"
