// SuperTux
-// Copyright (C) 2009 Ingo Ruhnke <grumbel@gmx.de>
+// Copyright (C) 2009 Ingo Ruhnke <grumbel@gmail.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
{
public:
static bool has_suffix(const std::string& data, const std::string& suffix);
+
+ /** Compare two strings according to their numeric value, similar to
+ what 'sort -n' does. */
+ static bool numeric_less(const std::string& lhs, const std::string& rhs);
};
#endif