11 bool get_cp_destination(
const char *input_ptr,
const size_t input_len,
int &dest,
const char **dest_filename_ptr,
size_t &dest_output_len);
Definition: str_utils.cpp:14
const char * stripTrailingZeros(const float value)
Returns a pointer to a string representation of value, with trailing zeros removed.
Definition: str_utils.cpp:27
size_t stripWS(char *str)
Removes leading and trailing whitespace characters from str.
Definition: str_utils.cpp:120
size_t stripLeadingWS(char *str)
Removes leading whitespace characters from str.
Definition: str_utils.cpp:58
bool get_cp_destination(const char *input_ptr, const size_t input_len, int &dest, const char **dest_filename_ptr, size_t &dest_output_len)
extract the destination type and filename from a string of the form dest:filename.
Definition: str_utils.cpp:138
size_t stripTrailingWS(char *str)
Removes trailing whitespace characters from str.
Definition: str_utils.cpp:88
char str[10]
Definition: test_str_utils.cpp:7