Trim ==== Trims leading and/or trailing whitespace from text. ``trim`` · string .. raw:: html Inputs ------ .. list-table:: :header-rows: 1 * - Port - Type - Unit - Components * - ``text`` - text - — - — Outputs ------- .. list-table:: :header-rows: 1 * - Port - Type - Unit - Components * - ``y`` - text - — - — Parameters ---------- .. list-table:: :header-rows: 1 * - Param - Type - Default - Options or unit * - ``mode`` - enum - ``"both"`` - ``both``, ``start``, ``end``