OpenMW
Namespaces | Functions
components/misc/stringops.cpp File Reference
#include "stringops.hpp"
#include <cctype>
#include <algorithm>
#include <iterator>
#include <string.h>
#include <libs/platform/strings.h>

Namespaces

namespace  Misc

Functions

bool Misc::begins (const char *str1, const char *str2)
 Returns true if str1 begins with substring str2.
bool Misc::ends (const char *str1, const char *str2)
 Returns true if str1 ends with substring str2.
static bool Misc::icmp (char a, char b)
bool Misc::ibegins (const char *str1, const char *str2)
 Case insensitive, returns true if str1 begins with substring str2.
bool Misc::iends (const char *str1, const char *str2)
 Case insensitive, returns true if str1 ends with substring str2.