Hi, I wonder what they do.
I tried passing a string to these functions but I don’t see any change to the string.
Here’s my sample code:
string str = " hello world ";
cout << strlen(str.c_str()) << endl;
ofTrim(str);
cout << strlen(str.c_str()) << endl;
And here’s the result I get:
15
15
What do these functions do?