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 "UltraEngine.h"
using namespace UltraEngine;
int main(int argc, const char* argv[])
{
String s = " Hello! ";
Print("\"" + s.Trim() + "\"");
return 0;
}