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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file substring-0.2.tar.gz
.
File metadata
- Download URL: substring-0.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4eae4420043329b7a24f6151c1c372d7319979c4dd5c29e3ed73d4c272de0c59 |
|
MD5 | 2fc017795d1db2d9f5c3042ccd424f92 |
|
BLAKE2b-256 | 7e7dcf210fae5576a7ab9b7e5e84b3835e78e30d82d418d78ce4200258134007 |
File details
Details for the file substring-0.2-py3-none-any.whl
.
File metadata
- Download URL: substring-0.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 498fc639615ac8d66c0dc3df4174ee255a42d7887fced807a8c99a6e2979e4a0 |
|
MD5 | 2c561fd9ef07f27838a80f3be9b96aed |
|
BLAKE2b-256 | 9702be069e24f4706f3fce4a9b99ec7f6ed1b0eebe65df8fc9f5898ea3d3b451 |