Login
...or Sign up
Home
Search
Search Code Snippets
Search People
Code Snippets of
davidpenrose
public boolean subString(char[] query) { boolean found = false; //start looping through this array for (int i=0;i<data.length;i++ ) { if ( data[i] == query[0]) { for (int j = 1; j<query.length; j++) { i++; if (i<data.length && data[i] == query [j]) { found = true; } else { found = false; } } } } }
subString
Uploaded on
8/28/2008 7:54:38 PM
0 comments
Programming Language:
1
Help
Help by email
What is Naslu?
|
About Naslu
|
Contact
|
Terms of Use
|
Downloads
|
Blog
|
Top
Select language:
Español
|
English
© 2007 naslu.com