Functions for strings and lists
Project description
- String:
-NEW- Added list_to_str(list) function Fixed module not importing bug A package that has several functions to work with strings and English words. Functions-
plural-Converts any word to plural form. e.g. plural(“python”)-“pythons”
join: joins two words e.g. ‘pyt’,’hon’-‘python’
add: Like the join() functions but can join word after the letter at the specified position e.g. add(“bore”,1,”ef”)-‘before’
reverse: Reverses a string e.g. reverse(“python”)-“nohtyp”
- Lists:
list_to_str: Convert a list into a string e.g. [‘p’,’y’,’t’,’h’,’o’,’n’]-‘python’
More functions coming soon!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stringf-0.0.7.tar.gz
(2.3 kB
view hashes)