Splits a string on a regular expression into a list of strings. Args: regex: A regular expression to split on. If regex is the empty string, then the input string is split into individual characters. flags: A string specifying the regular expression flag: 'i' (ignore case)
(
self, regex: _arg_types.String, flags: _arg_types.String | None = None
)
| 227 | ) |
| 228 | |
| 229 | def split( |
| 230 | self, regex: _arg_types.String, flags: _arg_types.String | None = None |
| 231 | ) -> ee_list.List: |
| 232 | """Splits a string on a regular expression into a list of strings. |
| 233 | |
| 234 | Args: |
| 235 | regex: A regular expression to split on. If regex is the empty string, |
| 236 | then the input string is split into individual characters. |
| 237 | flags: A string specifying the regular expression flag: 'i' (ignore case) |
| 238 | |
| 239 | Returns: |
| 240 | A list of strings. |
| 241 | """ |
| 242 | |
| 243 | return apifunction.ApiFunction.call_( |
| 244 | f'{self.name()}.split', self, regex, flags |
| 245 | ) |
| 246 | |
| 247 | def toLowerCase(self) -> String: |
| 248 | """Converts all of the characters in a string to lower case.""" |