SarkariResultess QA Bank

String में substring check कैसे करते हैं? — error आने पर developer क्या करे?

Other 0 Views Verified
String में substring check कैसे करते हैं? — error आने पर developer क्या करे?
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified

contains(text,'py')

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

'py' in text

'py' in text
Additional Explanation
in membership test करता है। पहले traceback की exact line और input value check करें।
Verified

text.contains('py')

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

text.has('py')

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