remove trailing slash from array


Posted on 16th Feb 2014 07:03 pm by admin

I have the following array which contains trailing slashes I need to remove. What is the best way to accomplish this?

Did you know?Explore Trending and Topic pages for more stories like this.
Array ( [Field1] => A [Field2] => Test [Field3] => öööö '')
No comments posted yet

Your Answer:

Login to answer
212 Like 9 Dislike
Previous forums Next forums
Other forums

Get word number x from string?
How can I use a function to loop through a string, and "have a look at" every word in the

Loops and Classes
I am making a template system and everything seems to be going well up until I have to loop in a var

Extending Exception to contain method name
I was wondering, if there's a way to extend Exception in such a way, that it would contain name of a

help with contest script
I would like to code a contest script to my site but i don't know how. Could someone just give me pu

Not "Just Another" MMORPG - text based.
Hello,

I've been learning MySQL and PHP for the last 2-3 years.
Though, I've had long paus

need help with php get
i have a option box that gets filled with dates, but how do i get once the option value has been cli

RTF fomatting to email content
Im trying to sen an email with content is picked up from a rtf-file (file_get_contents('*.rtf'). Mai

Help with php code
Hello, can anyone tell me why this php word trap fails to work,
and the trigger words get blow r

Multiple while loops
I have several DB queries that I know should be returning results and aren't. I have a feeling it ha

PHP Include w/If IE Condition Statement?
I was having a problem with Internet Exploder (big surprise, right?) displaying my drop down menus i

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash