mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-08 03:28:15 +03:00
Move misc files back to components
This commit is contained in:
parent
67f89f27a2
commit
97feee6cb6
17 changed files with 102 additions and 114 deletions
16
components/misc/stringops.hpp
Normal file
16
components/misc/stringops.hpp
Normal file
|
@ -0,0 +1,16 @@
|
|||
#ifndef __STRINGOPS_H
|
||||
#define __STRINGOPS_H
|
||||
|
||||
/// Returns true if str1 begins with substring str2
|
||||
bool begins(const char* str1, const char* str2);
|
||||
|
||||
/// Returns true if str1 ends with substring str2
|
||||
bool ends(const char* str1, const char* str2);
|
||||
|
||||
/// Case insensitive, returns true if str1 begins with substring str2
|
||||
bool ibegins(const char* str1, const char* str2);
|
||||
|
||||
/// Case insensitive, returns true if str1 ends with substring str2
|
||||
bool iends(const char* str1, const char* str2);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue