/************************************************
*
* String Utilities
* Copyright (C) 2020
* John Ryland
* All rights reserved
*
************************************************/
#include "StringUtilities.hpp"
namespace StringUtilities
{
std::string removeCRLF(std::string aLine)
{
if (aLine[aLine.size()-1] == '\n')
return aLine.substr(0, aLine.size()-1);
return aLine;
}
}