SarkariResultess QA Bank

String को separator से split कैसे करते हैं? — interview में इसका सही जवाब क्या है?

Other 0 Views Verified
String को separator से split कैसे करते हैं? — interview में इसका सही जवाब क्या है?
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified

text.divide(',')

text.divide(',')
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified

split(text, ',')

split(text, ',')
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified Correct Answer

text.split(',')

text.split(',')
Additional Explanation
split separator के आधार पर list लौटाता है।
Verified

text.explode(',')

text.explode(',')
Additional Explanation
यह विकल्प सही समाधान नहीं है।