This method removes whitespace characters from the beginning and end of the string and returns the result.
Returns the string with whitespace characters removed from the beginning and end.
#include "Leadwerks.h"
using namespace Leadwerks;
int main(int argc, const char* argv[])
{
    String s = "    Hello!  ";
    Print("\"" + s.Trim() + "\"");
    return 0;
}