title: Removing set number of characters from end of string with ColdFusion
body: <p>Simple request (hopefully) here.</p>
  
  <p>I have a string which whilst it varies in length, will always need the last 6 characters removed.</p>
  
  <p>Using a 3rd party web service, so I'm unable to edit the response in the XML before outputting.</p>
  
  <p>If anyone can suggest a quick way of trimming them off i'd be really grateful!</p>
  
  <p>here is the string i'll be using:</p>
  
  <pre><code>#daysEvent[iItem].XmlChildren[iEvent].XmlChildren[16].XmlText#
  </code></pre>
  
  <p>Thanks!</p>