<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="../../../design/description.xslt" type="text/xsl"?>
<node lang="en" type="DynamicNode.Lib.Text.NStringTrim" assembly="NLibDefault" xmlns="http://dynamicnodes.mastersign.de/description">
  <caption>Trim</caption>
  <group>Text</group>
  <description>Removes leading and trailing white spaces like tabs etc.</description>
  <inPorts>
    <port name="source">
      <type>System.String</type>
      <description>The source string.</description>
    </port>
    <port name="mode">
      <type>DynamicNode.Lib.Text.StringTrimMode</type>
      <description>The mode for the trimming (Start, End, or Both).</description>
    </port>
    <port name="chars">
      <type>System.String</type>
      <description>The characters to remove.</description>
    </port>
  </inPorts>
  <outPorts>
    <port name="result">
      <type>System.String</type>
      <description>The trimmed result string.</description>
    </port>
  </outPorts>
  <helpText>
    This node removes a group of characters from the start and/or from the end of a string.
    If no special group of trim characters is provided, all whitespaces like space, tab, etc. is removed.
  </helpText>
</node>