g.js
— graphical objects for JavaScript
Home
Get Started
Reference
About
Get started
Installation
Quick Start
Guides
Vector Graphics
Imaging
Geometry
Color
Lists
Math
Data
String
Animation
stringTrim
Remove white space from the start and end of the string.
g.stringTrim(' hello ');
Parameters
s
: The input string.
Related Guides
String Manipulation