-
-
Notifications
You must be signed in to change notification settings - Fork 0
strings
Cerus edited this page Aug 10, 2022
·
1 revision
| Routine | Visibility |
|---|---|
| concatenate | π Global |
| concat | π Global |
| reverse | π Global |
| contains | π Global |
| count | π Global |
| trim_end | π Global |
| trim_start | π Global |
| trim | π Global |
| trim_whitespace | π Global |
Concatenate (combine / join) two strings together
| Takes | Gives |
|---|---|
| String 2 (str) | Combined string (str) |
| String 1 (str) |
Alias for .concatenate
| Takes | Gives |
|---|---|
| String 2 (str) | Combined string (str) |
| String 1 (str) |
Reverses the string
| Takes | Gives |
|---|---|
| String (str) | String (str) |
Counts the amount of times a char is present in a string - Can be used for contains checks
| Takes | Gives |
|---|---|
| Character (int) | Occurrences (int) |
| String (str) | String (str) |
Alias for .contains
| Takes | Gives |
|---|---|
| Character (int) | Occurrences (int) |
| String (str) | String (str) |
Trim the specified character away from the end of a string
| Takes | Gives |
|---|---|
| Trim char (int) | String (str) |
| String (str) |
Trim the specified character away from the start of a string
| Takes | Gives |
|---|---|
| Trim char (int) | String (str) |
| String (str) |
Trim the specified char away from the start and end of a string
| Takes | Gives |
|---|---|
| Trim Char (int) | String (str) |
| String (str) |
Trim space, linefeed and tab away from the start and end of a string
| Takes | Gives |
|---|---|
| Trim char (int) | String (str) |
| String (str) |