Appearance
获取字符串中两个指定子串之间的多个部分
from usepy import middle_batch
original_str
start_str
end_str
max_count
>>> middle_batch('abc123def456abc789def', 'abc', 'def') ['123', '789'] >>> middle_batch('abc123def456abc789def', 'abc', 'def', 1) ['123']