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);
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);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us