var string1="APPLE"
 var t_len=countElements(string1)
 var m_arrayTarget:[String] = []
 var t_arrayTarget = ""
 for var i=0;i<t_len;i++ {
            t_arrayTarget=t_arrayTarget+" "
   func StringGetSUbstring(myString:String,start:Int,End:Int)-> String{
        let startIndex = advance(myString.startIndex, start)
        let endIndex = advance(myString.startIndex, End)
        let range = startIndex..<endIndex
        var myNewString = myString.substringWithRange( range )
        return myNewString

Screen Shot 2015-02-22 at 10.17.13 AM

By admin-powenko

Dr. Powen Ko is a teacher and CEO on LoopTek LLC, and like to teaching. if you need to class, please let PowenKo know, he will love to service and sharing. LoopTek web site is

Leave a Reply