title: AWS Cloudformation: How to split a string on 'NewLine' character
body: <p>I have a set of strings in Cloudformation, this is how they appear on the command line:</p>
  <pre><code>arn:aws:elasticloadbalancing:us-east-1:xxx:loadbalancer/app/app0/yyy
  arn:aws:elasticloadbalancing:us-east-1:xxx:loadbalancer/app/app4/yyy
  arn:aws:elasticloadbalancing:us-east-1:xxx:loadbalancer/app/app1/yyy
  arn:aws:elasticloadbalancing:us-east-1:xxx:loadbalancer/app/app2/yyy
  arn:aws:elasticloadbalancing:us-east-1:xxx:loadbalancer/app/app3/yyy
  </code></pre>
  <p>I need to split on '\n' (the new line character)</p>
  <p>The strings were generated by CF's CommandRunner:</p>
  <pre><code>  GetElbv2Arns:
      Type: AWSUtility::CloudFormation::CommandRunner
      Properties: 
        Role: InfrastructureManagement
        LogGroup: !Ref LogGroup
        SubnetId: !Ref subnetId1
        Command: 
          !Sub 
            - | 
              aws elbv2 describe-load-balancers \
              --region ${AWS::Region} \
              --query &quot;LoadBalancers[].[LoadBalancerArn]&quot; \
              --output text  \
              &gt; /command-output.txt
            - dummy: &quot;&quot;
  </code></pre>