Erlang/OTP Forums

Author Message

<  User Contributions  ~  estring - a bunch of useful string functions

5hundy
Posted: Tue Nov 24, 2009 11:33 pm Reply with quote
User Joined: 14 Oct 2007 Posts: 17
I'd like to introduce estring – it's a set of functions that I've found useful in my projects and hopefully you will too.

License: GPL
Code: http://github.com/dweldon/estring

Please let me know if you have any problems/requests/suggestions. The README has all of the function explanations but I'll list a few examples to give you an idea of what's included:

estring:begins_with("fancy pants", "fancy").
true

estring:similarity("epsn sporrts", "espn sports").
0.8181818181818182

estring:strip_split("first,second,third \n", ",").
["first","second","third"]
View user's profile Send private message
Karalabe
Posted: Thu Nov 26, 2009 10:56 am Reply with quote
User Joined: 03 Jul 2009 Posts: 11
Hi,

Ok, I've added it to the projects page Smile. I guess my crawler caught your project on github after you created it, but before you committed code to it. So it discarded it as not Erlang (it would have re-crawled it eventually... in about 3 months Razz).

http://projects.trapexit.org/web/project/github::dweldon::estring

Have a great day,
Peter
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum