Friday, November 15, 2019

How to check whether a string contains a substring in TypeScript?

Usually I would expect a str.includes() method, but there doesn't seem to be one in TypeScript.

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...