Tuesday, August 13, 2019

C# TrimEnd() equivalent in javascript

I have a statement like



bicCode.ToUpper().TrimEnd('X');


I want to rewrite this in javascript




response.data.toUpperCase().??


How to write trimend function in javascript?

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...