0% found this document useful (0 votes)
24 views8 pages

Python String Manipulation Functions

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views8 pages

Python String Manipulation Functions

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Buity-in mefnd an unas.

Caled an
a

cesm
)capi alize l)

\e

Pkins sY-caitalize ())

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 [Link] is anher emo"
Pint (.tindtdema)) oP: 230

Occurrenco
Valu
is an tes"

o)isalhum)

e s hade o aaurnete chatact


Ex a= Hellol 3' OlP hue.

)
isanpha)
Tue chatocete
athads, Reise False,.
Cotmp Seience

a-isalha)

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
[Link] ()
15).isupper C)
is uperC) ncin Retn
The
haacts ate
uRRea e
oPMe.
aisugrer ()
Can Le detshie
ten(3 unchon,
Bht (len(wrd
Heilo

PAt ( s ,tjus (io,

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

RemNes leadig and iiefaces


Helo
Heib

ax()
tueion Reyums
alhabical hakack rne
beuo fiendz" o

25) in( sey

\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),

You might also like