Built-In String Methods and Functions (Unit-3)
Built-In String Methods and Functions (Unit-3)
Caled an
a
cesm
)capi alize l)
\e
Hello
cener() junien
Sfacijed size
op:
hel
3) Coust)
OcCuthces a
q\e
SI- Coct(is') sP 2
endwiR)
Rebuin al se
fhiis \aop
Tue.
S2edsoitais)
ssars
a)funtion Rehins
Prefx, enise Reuns
Thue
6) fndcs
S
is -is!
s3. fnd ('is)
) Tndex()
ndex () unctio Reuns e
index
3,
SA ndex ('s')
ia demo.ie is anher emo"
Pint (.tindtdema)) oP: 230
Occurrenco
Valu
is an tes"
o)isalhum)
)
isanpha)
Tue chatocete
athads, Reise False,.
Cotmp Seience
a-isalha)
aú
Jigts ofekieFalso
oP The.
ex'
3) islouwer()
islouwer ) tems The
ahe
casod
Ca deatacrs in
lowercase
easod chaact 6eie t tetgtng
ouns Fal
a= heuo oP:;The
an is lOwer
isspace ()
issface ) ejurms Tue
Jastace hárac
Rejins fals
olP- e
b.isspace ()
15).isupper C)
is uperC) ncin Retn
The
haacts ate
uRRea e
oPMe.
aisugrer ()
Can Le detshie
ten(3 unchon,
Bht (len(wrd
Heilo
18) \ouwex ()
hatacts
\oeca se
Aenauacs aetonoics
1) uR)
ar
uEreca se
ol
7r
EARTH.
is
-
\234 Oooo0ol2 34
2)!\gp)
KeMoeS leadi, Jateace
Heiio
Hello:
S
teuo
ax()
tueion Reyums
alhabical hakack rne
beuo fiendz" o
\phalbical Chetactom
ex heo fhelz"
26) pace ()
Croa'se
anofer teglacy
Eg.- a=has
héiiowor\d
21) ttlel).
i le() tuncion Rets a
ca sed
Pind (sHle() The wlodss
Beausfu
AR) Swap ca le C)
Conve
lowercaxe
all haacekS
ice
, wOR) bEAUTTFu
Pon
delimidr
a-spit()
|'elome e
oin()
Ynchon ejume
is
)
ar jon(i a , ' )
oP:
abc!
) isidentijer ()
idasher
dentsjer
accoadig to Yange defoitan
Hello
32) enumexte ()
Kheeianee unetionis a biin
tuneo
a kyience and kee? tack of Re
index o each e\ement
out ut
,),( ),(a),