String functions¶
zDExt_Str_Upper¶
Gets string with uppercase.
str– string to formatreturn– formatted string
zDExt_Str_Lower¶
Gets string with lowercase.
str– string to formatreturn– formatted string
zDExt_Str_Capitel¶
Gets string with capitelcase.
str– string to formatreturn– formatted string
zDExt_Str_StartsWith¶
Checks whether a string starts with a given prefix (case-insensitive).
str– string to checkprefix– the prefix to compare againstreturn–TRUEif the string starts with the given prefix, otherwise returnsFALSE
zDExt_Str_EndsWith¶
Checks whether a string ends with a given suffix (case-insensitive).
str– string to checksuffix– the suffix to compare againstreturn–TRUEif the string ends with the given suffix, otherwise returnsFALSE
zDExt_Str_Cut¶
Gets a substring (slice) of a string between two given indices.
str– string to cutstartIndex– the starting indexlength– number of characters to extractreturn– extracted substring. If the input is invalid, returns an empty string