Skip to main content

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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page