This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--- | |
| ENUMERATE Function | |
| Description: Returns an array of [index, value] pairs from an input array | |
| Parameters: | |
| - array: The array to enumerate (required) | |
| - start: Starting index value (optional, default: 0) | |
| - asStruct: Return as array of structs instead of arrays (optional, default: false) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--- | |
| STARTSWITH Function | |
| Description: Checks if a string starts with a specified prefix | |
| Parameters: | |
| - string: The string to check (required) | |
| - prefix: The prefix to look for (required) | |
| - caseSensitive: Whether to perform case-sensitive comparison (optional, default: true) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--- | |
| ENDSWITH Function | |
| Description: Checks if a string ends with a specified suffix | |
| Parameters: | |
| - string: The string to check (required) | |
| - suffix: The suffix to look for (required) | |
| - caseSensitive: Whether to perform case-sensitive comparison (optional, default: true) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--- | |
| CENTER Function | |
| Description: Centers a string within a field of specified width | |
| Parameters: | |
| - string: The string to center (required) | |
| - width: The total width of the result (required) | |
| - fillChar: Character to use for padding (optional, default: " ") | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--- | |
| ZFILL Function | |
| Description: Pads a string with leading zeros to reach specified width. Handles negative numbers by placing zeros after the minus sign. | |
| Parameters: | |
| - inputString: The string to pad with zeros (required) | |
| - width: The target width of the result string (required) | |
| Returns: String padded with leading zeros to reach the specified width |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--- | |
| COUNT Function | |
| Description: Counts non-overlapping occurrences of substring in string. Set overlap=true to count overlapping occurrences. | |
| Parameters: | |
| - inputString: The string to search in (required) | |
| - substring: The substring to count (required) | |
| - overlap: Whether to count overlapping occurrences (optional, default: false) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--- | |
| JOIN Function | |
| Description: Joins array elements into a string using a separator. Similar to Python's str.join() method. | |
| Parameters: | |
| - separator: The separator to join elements with (required) | |
| - array: The array of elements to join (required) | |
| Returns: String with array elements joined by the separator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--- | |
| STRIP Function | |
| Description: Removes specified characters from both ends of a string. If no characters specified, removes whitespace. | |
| Parameters: | |
| - inputString: The string to strip characters from (required) | |
| - chars: Characters to remove from both ends (optional, default: whitespace) | |
| Returns: String with specified characters removed from both ends |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--- | |
| LSTRIP Function | |
| Description: Removes specified characters from the left (beginning) of a string. If no characters specified, removes whitespace. | |
| Parameters: | |
| - inputString: The string to strip characters from (required) | |
| - chars: Characters to remove from the left end (optional, default: whitespace) | |
| Returns: String with specified characters removed from the left end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--- | |
| RSTRIP Function | |
| Description: Removes specified characters from the right (end) of a string. If no characters specified, removes whitespace. | |
| Parameters: | |
| - inputString: The string to strip characters from (required) | |
| - chars: Characters to remove from the right end (optional, default: whitespace) | |
| Returns: String with specified characters removed from the right end |
OlderNewer