Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

search for a String in byte array

byte[] array;
...
String text = new String(array);
String specific = "something";
if (text.indexOf(specific) >= 0) System.out.println("Found " + specific);
else System.out.println("Not found " + specific);
Source by community.oracle.com #
 
PREVIOUS NEXT
Tagged: #search #String #byte #array
ADD COMMENT
Topic
Name
2+5 =