strip off "/" from a string

Hi,

Is they a way to strip of "/" from a string. eg.

$String = "1234567/999"
...code to strip "/"
$String = "1234567999"
n_chaiAsked:
Who is Participating?
 
andreifConnect With a Mentor Commented:
...code to strip "/":

$String =~ s(/)()g;
0
 
ozoCommented:
#or
$String =~ tr(/)()d
0
 
n_chaiAuthor Commented:
Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.