purescript / purescript-strings

String utility functions, Char type, regular expressions.
BSD 3-Clause "New" or "Revised" License
54 stars 71 forks source link

Add startsWith and endsWith #147

Open triallax opened 3 years ago

triallax commented 3 years ago

Description of the change

Add startsWith and endsWith functions to Data.String.CodeUnits.

Fixes #127.

I know that there's still a bit of disagreement over whether this should be done or not, but I just opened this PR because it didn't take a lot of time. If it's ultimately decided against, feel free to close this PR.

To do:


Checklist: