# Removing forward slashess from a string

**URL:** <https://forum.kirupa.com/t/removing-forward-slashess-from-a-string/256839>\
**Category:** Uncategorized\
**Created:** [April 7, 2008, 9:11pm UTC](https://forum.kirupa.com/t/removing-forward-slashess-from-a-string/256839 "2008-04-07T21:11:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tge1986](https://avatars.discourse-cdn.com/v4/letter/t/ba8739/32.png) [@tge1986](https://forum.kirupa.com/u/tge1986)\
**Post date:** [April 7, 2008, 9:11pm UTC](https://forum.kirupa.com/t/removing-forward-slashess-from-a-string/256839/1 "2008-04-07T21:11:21Z")

</div>

Hi I have a string with the date and i want to remove the slashes.

it is formated like this $date=4/8/2008  
i would like to make it $date=482008  
is there an easy way to do this i’m not very familiar with all the different functions of the string class so there might be a function that does exactly what i want but i don’t know about it yet.  
Thanks
