Split the string. Args: separator: The separator. Returns: The string split operation.
(self, separator: StringVar | str = "")
| 770 | return string_contains_operation(self, other) |
| 771 | |
| 772 | def split(self, separator: StringVar | str = "") -> ArrayVar[list[str]]: |
| 773 | """Split the string. |
| 774 | |
| 775 | Args: |
| 776 | separator: The separator. |
| 777 | |
| 778 | Returns: |
| 779 | The string split operation. |
| 780 | """ |
| 781 | if not isinstance(separator, (StringVar, str)): |
| 782 | raise_unsupported_operand_types("split", (type(self), type(separator))) |
| 783 | return string_split_operation(self, separator) |
| 784 | |
| 785 | def startswith(self, prefix: StringVar | str) -> BooleanVar: |
| 786 | """Check if the string starts with a prefix. |