Parse tokens from an string into an array
Project description
sta
: Parse tokens from an string into an array
Overview
sta extract the words from a string, and store those words in an array. The words are separated by an space/s.
Install
pip install sta
Usage
import sta
print(sta('this string is divided by spaces'))
# => [ 'this', 'string', 'is', 'divided', 'by', 'spaces' ]
Related
- str-to-arr: convert an string into an array in JavaScript.
- s-to-o: convert an string into an object in JavaScript.
Team
Carlos Abraham |
License
MIT License © Carlos Abraham
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
sta-2.0.0.tar.gz
(2.0 kB
view details)
Built Distribution
sta-2.0.0-py3-none-any.whl
(2.1 kB
view details)
File details
Details for the file sta-2.0.0.tar.gz
.
File metadata
- Download URL: sta-2.0.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0cc9087397f9aa3f40de4759d0e889c859f407b2146cb186fcedfe8ae58e1c5 |
|
MD5 | a52e670641cd7c3bbc4a9ea26d6c20b6 |
|
BLAKE2b-256 | a0f073609f4e95abd1d411a35a58c02e02f29481ebfeccc6afa630033e6a5d8f |
File details
Details for the file sta-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: sta-2.0.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc3cfc5b7f106df0c7bd0226f961867f1acabe2b3b2f62cdc227f792ae7ab975 |
|
MD5 | aebd54ebed214ae3961e8ae73a0d946c |
|
BLAKE2b-256 | e3affe4be1ba2ea4fc1fac7dfd80513320865233925cc7fff559fc8e27909864 |