Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Parse tokens from an string into an array

Project description

sta : Parse tokens from an string into an array


sta extract the words from a string, and store those words in an array. The words are separated by an space/s.


pip install sta


import sta

print(sta('this string is divided by spaces'))
# => [ 'this', 'string', 'is', 'divided', 'by', 'spaces' ]



Return an array with each token

Return Type: list


  • str-to-arr: convert an string into an array in JavaScript.
  • s-to-o: convert an string into an object in JavaScript.


Carlos Abraham Logo
Carlos Abraham


MIT License © Carlos Abraham

Project details

Download files

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

Files for sta, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size sta-2.0.1-py3-none-any.whl (2.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sta-2.0.1.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page