Hi.
Tried searching in the Java String API with no answer.
I am trying to create Java strings with a specified size. I noticed that Java Strings do not end in the null character (\0). Basically, I would like to be able to create strings such as:
String myString = new String("Charles", 32);
where myString will contain "Charles <-- 24 spaces --> \0"
There is no such method that can achieve what I have above. Should I just rely on creating my own function to do so?
Thanks