|
My library
Library for common tasks
|
Common tasks with strings. More...
#include "types.h"

Go to the source code of this file.
Functions | |
| string | getString () |
| Reads from terminal a string of arbitrary length. More... | |
| byte | endsWith (const string str, const string suffix) |
| Check if a string ends with the specified substring. More... | |
| string | changeLastCharacter (const string str, char newCharacter) |
| Get a tring with different last character. More... | |
| string | copyOf (const string src) |
| Get a copy of the given string. More... | |
Common tasks with strings.
Get a tring with different last character.
| str | The string you want to change the last character |
| newCharacter | The character you want to set as last character |
str and newCharacter as last character or the return code of the function | NULL | Errors occurred during the execution of the function |
| string getString | ( | ) |
Reads from terminal a string of arbitrary length.
| NULL | Errors occurred during the execution of the function |