MCQOPTIONS
Bookmark
Saved Bookmarks
→
Python
→
Shallow Copy Deep Copy in Python
→
The _____ function extracts a substring from a str..
1.
The _____ function extracts a substring from a string.
A.
length
B.
index
C.
size
D.
substr
Answer» E.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What does the function re.search do?
What does the function re.match do?
Which of the following creates a pattern object?
Which module in Python supports regular expressions?
What will be the output of the following PHP code?<?php$username = "jasoN";if (ereg("([^a-z])",$username))echo "Username must be all lowercase!";elseecho "Username is all lowercase!";?>
[:alpha:] can also be specified as.
Which among the following is/are not a metacharacter?1. /a2. /A3. /b4. /B
Which of the following would be a potential match for the Perl-based regular expression /fo{2,4}/ ?1. fol2. fool3. fooool4. fooooool
What will be the output of the following PHP code?<?php$text = "this istsome text thatnwe might like to parse.";print_r(split("[nt]",$text));?>
Say we have two compare two strings which of the following function/functions can you use?1. strcmp()2. strcasecmp()3. strspn()4. strcspn()
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply