I am trying to write a method that returns an int
from a String
variable.
My method is:
public int returnInt(String s) {
}
Answer
You can use Integer.valueOf(String)
for this
I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print ...
No comments:
Post a Comment