"Porting" some of Java's string methods to C.