Gnuplot provides several built-in functions that operate on strings.
General formatting functions: see gprintf (p. ) sprintf (p. ).
Time formatting functions: see strftime (p. ) strptime (p. ).
String manipulation: see substr (p. ) strstrt (p. ) trim (p. ) word (p. ) words (p. ).