Professional IronPython



Download 20,35 Mb.
Pdf ko'rish
bet103/453
Sana01.07.2022
Hajmi20,35 Mb.
#723045
1   ...   99   100   101   102   103   104   105   106   ...   453
82

CHAPTER 5
InteractIng wIth StructureS and ObjectS
➤➤
rindex()
: Performs the same task as 
index()
, except that this method indexes from the 
right end of the string, rather than the left. See the 
index()
entry in the list for details.


rjust()
: Performs the same task as 
ljust()
, except that this method right-justifies the 
string, rather than left-justifying it. See the 
ljust()
entry in the list for details.


rpartition()
: Performs the same task as 
partition()
, except that this method partitions 
the right side of the string, rather than the left side. See the 
partition()
entry in the list for 
details.


rsplit()
: Performs the same task as 
split()
, except that this method begins at the right 
side of the string, rather than the left. See the 
split()
entry in the list for details.


rstrip()
: Performs the same task as 
lstrip()
, except that this method begins at the right 
side of the string, rather than the left. See the 
lstrip
entry in the list for details.


split(str sep[, int maxsplit])
: Divides the string into a list using 
sep
as the point 
of division. You may provide an optional number of replacements to make by defining 
maxsplit
. For example, if you want to divide a string into individual words, you’d type 
MyString.split(‘ ‘)
.


splitlines([bool keepends])
: Breaks a string apart by lines. The output is a list of lines 
within the string. Normally, the output doesn’t include the newline character. However, you 
can keep the newline character by setting 
keepends
to 
True
. For example, to break a string 
Download 20,35 Mb.

Do'stlaringiz bilan baham:
1   ...   99   100   101   102   103   104   105   106   ...   453




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish