67 007
Assignments Done
99,2%
Successfully Done
In November 2018

Answer to Question #3386 in Python for mukunda

Question #3386
Find the search string in given source string<br><br>Source = “Rajiv Gandhi University of Knowledge Technologies”<br>Search = “Techno”
Expert's answer
import re

source = &quot;Rajiv Gandhi University of Knowledge Technologies&quot;
search = &quot;Techno&quot;

print( search, &quot;is at&quot;, re.search( search, source ).start(0), &quot;position of the source string&quot; )

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions