summaryrefslogtreecommitdiff
path: root/AK/String.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AK/String.cpp')
-rw-r--r--AK/String.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/AK/String.cpp b/AK/String.cpp
index 790efc2a21..e9ab733f01 100644
--- a/AK/String.cpp
+++ b/AK/String.cpp
@@ -389,6 +389,11 @@ String String::to_uppercase() const
return m_impl->to_uppercase();
}
+String String::to_snakecase() const
+{
+ return StringUtils::to_snakecase(*this);
+}
+
bool operator<(const char* characters, const String& string)
{
if (!characters)