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

MFC GUI Programming
I am working on a project right now that requires me to create a MFC Windows GUI. Basically it need

Typedef struct vs just struct
Anyone know the rationale for using typedef for structs when a struct is itself a typedef? I have s

Greek characters in php
Hi,

I'm making a script and I m using for first time greek characters.
I started to write

GET vs SUBMIT Button to show sections on one index.php page?
Just curious if one of these ways is better (i.e. more efficient) than the other.

I have a

PHP - MySQL Fail
My PHP code will only execute the first part of my code...

Code: <?php

sessio

Storing/displaying image urls in a database?
Hi
Basically I have the following scenario:
User chooses picture from list. Picture info is ad

How can I get my program to read a larger array ??
Hi:

I have this program that reads from an array to do calculations. The array are just t

Form submissing with PHP and JQuery/Ajax
I have searched everywhere, but cannot find a solution for this... I have worked all day trying to g

Basic Question about Threading and PHP...
I have a page that I am working on and it is taking several hours to process. The basics of what th

Add a sign-up feature to a flat file login script
I'm working on a flat file login script and I would like to add a sign-up feature to it with a email

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