Text tools
Project description
strcpy
Python function allowing to copy a text in another one in a mutable way. That is regardless of whether the latter has enough space to accommodate the former.
Usage
from arc_lib.text import strcpy
text1 = "Hello"
text2 = strcpy(text1, "world!", 6)
print(text2)
Hello world!
text2 = strcpy(text1, "world!", 20)
print(text2)
Hello world!
text2 = strcpy(text1, "world!", 2)
print(text2)
Heworld!
Installation
Install this through pip:
pip install arc_lib
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
arc_lib-arodroz-0.0.3.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arc_lib-arodroz-0.0.3.tar.gz.
File metadata
- Download URL: arc_lib-arodroz-0.0.3.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1283ac94065c4a48f0101a182bfd949333143b2e368db84f13d9fbb837353c0e
|
|
| MD5 |
e6a84ff82440850e6bc33e3dbfe28dd7
|
|
| BLAKE2b-256 |
2917281b90606ae756232faf7067b9d333b0f29aaca6c1957227f90f50fa7393
|
File details
Details for the file arc_lib_arodroz-0.0.3-py3-none-any.whl.
File metadata
- Download URL: arc_lib_arodroz-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0886f46dc57951e359564963eb90916fb309dc20aa3fcd0d6c7e7d261bc0ab3
|
|
| MD5 |
9957ae5a4aa95e88ce3374653c96e5fa
|
|
| BLAKE2b-256 |
a9187ca8e2b2fa528f59399dbd9a5da9b666cc77e426ce99dd49d1d31f6ce471
|