Open Source Tomb Raider Engine
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

strings.h 398B

1234567891011121314151617181920
  1. /*!
  2. * \file include/utils/strings.h
  3. * \brief String handling utilities
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _UTILS_STRINGS_H_
  8. #define _UTILS_STRINGS_H_
  9. #include <string>
  10. std::string findAndReplace(std::string s, std::string find, std::string replace);
  11. std::string expandHomeDirectory(std::string s);
  12. bool stringEndsWith(std::string s, std::string suffix, bool casesensitive = false);
  13. #endif