rcutils
master
C API providing common utilities and data structures.
|
Go to the documentation of this file.
17 #ifndef RCUTILS__FIND_H_
18 #define RCUTILS__FIND_H_
56 rcutils_findn(
const char * str,
char delimiter,
size_t string_length);
92 #endif // RCUTILS__FIND_H_
size_t rcutils_findn(const char *str, char delimiter, size_t string_length)
Return the first index of a character in a string of specified length.
size_t rcutils_find(const char *str, char delimiter)
Return the first index of a character in a string.
size_t rcutils_find_last(const char *str, char delimiter)
Return the last index of a character in a string.
#define RCUTILS_PUBLIC
Definition: visibility_control.h:23
size_t rcutils_find_lastn(const char *str, char delimiter, size_t string_length)
Return the last index of a character in a string of specifed length.