Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkStringUtil.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkStringUtil_h
14 #define mitkStringUtil_h
15 
16 #include <MitkCoreExports.h>
17 
18 #include <string>
19 
20 namespace mitk
21 {
33  MITKCORE_EXPORT bool EndsWithCaseInsensitive(const std::string& str, const std::string& suffix);
34 }
35 
36 #endif
#define MITKCORE_EXPORT
Find image slices visible on a given plane.
MITKCORE_EXPORT bool EndsWithCaseInsensitive(const std::string &str, const std::string &suffix)
Case-insensitive check whether str ends with suffix.