| Reply | « Previous Thread | Next Thread » |
|
Hello Forum!
I want to perform operations in a string Code:
string = u"Hello How are you?" As in suppose 1st I want to acces only 1st character that is "H" The next time I want to access only the 2nd character i.e "e" and so on.I want to do this till the end of the string.Can any one of members suggest me a solution? Also I want to know when the end of the string is approached. Help will be appriciated. |
| richie.rich |
| View Public Profile |
| Find all posts by richie.rich |
|
I guess you can work this out from the answer to your other question:
for i in range(0,len(string1)): print string1[i] ..or..: for i in string1: print i |
|
@richie.rich:
Python S60 is based on a Python 2.2 version so you can have all info , reference and tutorial of this langage on the official Python site because you are asking for Python basic not specifically PyS60 ![]() Cyke64 pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 ! pys60 extension modules on http://cyke64.googlepages.com/ |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Some questions regaring text edit control(changing first letter to be low case) | alexs@servision.net | Symbian User Interface | 1 | 2007-10-02 15:59 |
| Code Analysis Tools | mockba | Symbian Tools & SDKs | 1 | 2006-12-06 02:50 |
| How to get a Letter from a TBuf descriptor class | zhang2008 | General Symbian C++ | 2 | 2006-10-27 10:42 |
| target drive letter for SISPATCH | geran | Symbian Tools & SDKs | 0 | 2003-11-07 14:00 |
| Hi, people. I still have problem with cirilic charaters in wml. May be Noki | cyberpunkk | Browsing and Mark-ups | 2 | 2002-06-26 09:57 |