24 lines
664 B
Python
Raw Permalink Normal View History

2025-04-30 16:57:46 +08:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
字符串工具包
提供常用的字符串操作函数
所有函数都是异步实现
"""
from .string_functions import (
is_blank, is_not_blank, is_any_blank, is_all_blank,
is_numeric, is_alpha, starts_with, ends_with,
contains, split, chop, chomp, index_of,
difference, replace, remove, right, left,
length, reverse
)
__all__ = [
"is_blank", "is_not_blank", "is_any_blank", "is_all_blank",
"is_numeric", "is_alpha", "starts_with", "ends_with",
"contains", "split", "chop", "chomp", "index_of",
"difference", "replace", "remove", "right", "left",
"length", "reverse"
]