Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Multi-Operational and Flexible Substring Package

Project description

#SUBSTRING Version 0.2

##Multi-Operational and Flexible Substring Package

##This is indeed a need for the developer community to experience such simple, easy-to-use and extremely user friendly Python package which does your usual job of cutting out a piece of substring from the parent string without writing certain lines of code. Nobody wants to spend their valuable time in writing such simple code when they can work on the bigger and other important contributions to the developers’ community. This package has the following two methods associated with it:

###1) substringByChar() It has four parameters namely, initialString, startChar, endChar, and stepSize(default=1). It would spit out the substring on the basis of the characters entered. For example, consider a string “abcdefghijklmnopqrstuvwxyz” and I can pull out the substring “defghijkl” by just specifying the start and end characters as “d” and “l” respectively. It has also the feature of step size where you can change and get your substrings accordingly.

###2) substringByInd() It has four parameters namely, initialString, startInd, endInd, and stepSize(default=1). It would spit out the substring on the basis of the indices entered. For example, consider a string “abcdefghijklmnopqrstuvwxyz” and I can pull out the substring “defghijkl” by just specifying the start and end indices as 3 and 11 respectively because “d” and “l” represent the indices 3 and 11 respectively. It has also the feature of step size where you can change and get your substrings accordingly.

####This package is “Multi-Operational” because it not only gets you the substring of your choice with such ease but also allows you to play around with the step sizes that you want. For example, consider the same string “abcdefghijklmnopqrstuvwxyz”, and you can pull out “aceg” by entering the startChar, endChar, stepSize as “a”, “g” and 2 respectively.

####With such ease of use, this package efficiently handles all the exceptions caused and lets the user know about them which makes the user experience very rich.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
substring-0.2-py3-none-any.whl (3.6 kB) Copy SHA256 hash SHA256 Wheel py3 Jun 25, 2018
substring-0.2.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None Jun 25, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page