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' ]
API
sta('string')
Return an array with each token
Return Type: list
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.1.tar.gz
(2.1 kB
view details)
Built Distribution
sta-2.0.1-py3-none-any.whl
(2.2 kB
view details)
File details
Details for the file sta-2.0.1.tar.gz
.
File metadata
- Download URL: sta-2.0.1.tar.gz
- Upload date:
- Size: 2.1 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 | adb7a217fb3497c543faf2513dc6f92719a6a423e07de60e655cc9df31c63b4e |
|
MD5 | 8bdf2933712493976f35cacc414cd41b |
|
BLAKE2b-256 | 206b746eed38abdde5765531348c763ba3b1db9666036ba8b4b3643fa80fe344 |
File details
Details for the file sta-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: sta-2.0.1-py3-none-any.whl
- Upload date:
- Size: 2.2 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 | 3c583017c9938eef9e20c0bd92866eff741b72c21c6c67602f83d0392ec4121f |
|
MD5 | f6cfdd352a6c6ac7fa75e2ae82fa35fe |
|
BLAKE2b-256 | 4c53984dd53e60f4b5c75ae6a330ccde8b59919e4ff356b3f18762457d9ffce7 |