title: Is it possible to split the string and take out only a single character in Cloudformation Template?
body: <p>In my Cloudformation template I want to take only the first character of a string!
  For e.g.</p>
  <p>I have the following parameter</p>
  <pre><code>EnvType: 
   Default: Dev
  </code></pre>
  <p>And what I want to do is in my Tags,</p>
  <pre><code>Name: !Sub '${AWS::Region}${AWS::AccountID}${EnvType}'
  </code></pre>
  <p>In this I do not want Dev to appear in the name, I only want the first character of Dev. Which is D!
  Is it possible to do with split or any other functions?</p>