Okay, the trim function doesn't do everything I need it to.
For instance I have these two strings or arrays:
127.0.0.1 localhost
192.168.200.200;
I tried trimming and splitng it by the space but it doesn't seem to work. You guys have any idea how to get rid of the localhost and the ; leaving only the IP address?