sonai kale wrote:Smartface is an iPhone app emulator and tester that helps develop cross-platform native iOS apps. It is a full-featured enterprise mobility management platform that reduces cost, increases productivity, removes dependency and provides strategic mobility solutions. Smartface provides full debugging options for iOS apps which help the app developer flexibility to work with it and develop apps
Amal Thelly wrote:[size=18]The problem is that you are passing 0 as the paramater to charAt() function. In Paulie for example 'P' is at 0th Index. To get 'a' you'll have to increment index by 1. This can be done by making the parameter dynamic. You have a variable for that 'length'.
Hence use charAt(length) to iterate through your String.