String manipulation in JNI

String manipulation in JNI