wht's the program which takes two strings using command line arguments and finds the occurence of second string in the first string.The program should return the starting position of first occurence if it is available otherwise should display "NOT FOUND".
Find the occurence of one string into another string
Collapse
X
-
Tags: None
-
so what is the problem?taking inputs from command line? or comparing the two strings?Originally posted by gauravguleriawht's the program which takes two strings using command line arguments and finds the occurence of second string in the first string.The program should return the starting position of first occurence if it is available otherwise should display "NOT FOUND". -
Originally posted by gauravguleriawht's the program which takes two strings using command line arguments and finds the occurence of second string in the first string.The program should return the starting position of first occurence if it is available otherwise should display "NOT FOUND".Comment
Comment