module documentation
String utilities
Function | find |
Find a non-existing file name, with an index. |
Function | get |
Get last child of a path or itself if is the root directory. |
Function | get |
Get parent directory or itself if is the root directory. |
Function | getchar |
Returns a single character from standard input |
Function | l |
Undocumented |
Function | l |
Undocumented |
Function | m |
Undocumented |
Function | m |
Undocumented |
Function | r |
Undocumented |
Function | r |
Undocumented |
Function | sanitize |
Replaces non-safe filename characters with '_'. Handles reserved window file names. |
Function | timedelta |
Undocumented |
Variable | filename |
Undocumented |
Variable | reserved |
Undocumented |
Variable | time |
Undocumented |
Find a non-existing file name, with an index.
The separator and the index will be added if the specified file already exist.
- Accepted formatting:
- '{sep}': separator between name and index, can be changed with 'separator' parameter
- '{index}': file index
(e.g. 'log{sep}{index}.txt')
Replaces non-safe filename characters with '_'. Handles reserved window file names.
Source: https://github.com/Anuken/Arc/blob/master/arc-core/src/arc/util/Strings.java