22 #if ! defined (octave_oct_string_h) 23 #define octave_oct_string_h 1 25 #include "octave-config.h" 54 bool strcmp (
const T& str_a,
const T& str_b);
67 bool strcmp (
const T& str_a,
const typename T::value_type *str_b);
78 bool strcmpi (
const T& str_a,
const T& str_b);
88 bool strcmpi (
const T& str_a,
const typename T::value_type *str_b);
99 bool strncmp (
const T& str_a,
const T& str_b,
100 const typename T::size_type n);
103 template <
typename T>
104 bool strncmp (
const T& str_a,
const typename T::value_type *str_b,
105 const typename T::size_type n);
115 template <
typename T>
116 bool strncmpi (
const T& str_a,
const T& str_b,
117 const typename T::size_type n);
120 template <
typename T>
121 bool strncmpi (
const T& str_a,
const typename T::value_type *str_b,
122 const typename T::size_type n);
bool strcmp(const T &str_a, const T &str_b)
True if strings are the same.
bool strcmpi(const T &str_a, const T &str_b)
True if strings are the same, ignoring case.
bool strncmp(const T &str_a, const T &str_b, const typename T::size_type n)
True if the first N characters are the same.
bool strncmpi(const T &str_a, const T &str_b, const typename T::size_type n)
True if the first N characters are the same, ignoring case.
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string