0
What is the meaning of delimeter
3 Antworten
+ 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"]
+ 1
in simple terms is used for separating values , these are your commas(,), semi-colons (;), pipe symbol (|)
0
Thank you