# Adition of two strings... How? (cast)?

**URL:** <https://forum.kirupa.com/t/adition-of-two-strings-how-cast/306256>\
**Category:** flash\
**Created:** [March 11, 2010, 8:08pm UTC](https://forum.kirupa.com/t/adition-of-two-strings-how-cast/306256 "2010-03-11T20:08:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leo75](https://avatars.discourse-cdn.com/v4/letter/l/779978/32.png) [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Post date:** [March 11, 2010, 8:08pm UTC](https://forum.kirupa.com/t/adition-of-two-strings-how-cast/306256/1 "2010-03-11T20:08:29Z")

</div>

Here we go… i know, that i have to CAST them… but how?  
The idea is to add (adition) two strings…  
a:String = “20”;  
b:String = “10”;  
c:String = a+b;  
I get c=2010 and not 30 as i expected…  
i guess i have to cast, but how?  
Thanks.  
Leo.
