![]() |
delete the second character of a string?
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
Re : delete the second character of a string?
sNum = "what you want when you want where you want"
to get the n-ième char of a string you do : sNum[n-1] for exemple, if sNum is "to" ,you declare a char (here res) and you write res=sNum[1] to get the second character of the string... Or use a int instead of string and do (name_of_int)%10 to get the unit of the integer. |
![]() |
Bookmarks |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
P2P : Majors, FAI, Etat, "main dans la main"... | Toitoine | Actualité | 113 | 27-09-2004 19:28 |
W2K/XP "../ServicesPackFiles" Delete ? | wuub | Personnalisation de Windows | 12 | 16-03-2003 08:31 |
All times are GMT +2. The time now is 22:49.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.