0

What is the meaning of delimeter

30th Mar 2017, 6:04 AM
Sreyash Gooptu
Sreyash Gooptu - avatar
3 Answers
+ 7
it's a character or a sequence of characters that is used as a seperetor. for instance, the split method can take such delimeter as a parameter (default is a single space) which is then used to seperate a given string accordingly: st="this is a test string.have a nice day" print(st.split()) #output below ["this", "is", "a", "test", "string.have", "a", "nice", "day"] print(st.split(".")) #output below, . as delimiter now ["this is a test string", "have a nice day"]
30th Mar 2017, 6:13 AM
Burey
Burey - avatar
+ 1
in simple terms is used for separating values , these are your commas(,), semi-colons (;), pipe symbol (|)
30th Mar 2017, 6:06 AM
Simataa Sabuta
Simataa Sabuta - avatar
0
Thank you
30th Mar 2017, 6:14 AM
Sreyash Gooptu
Sreyash Gooptu - avatar