Question: What would the code be to have a specific url running in a browser in a textbox of my site?I want that to be in html for use in blogspot.

Answer: 
I see your comment that trim() is still providing the NumberFormatException. 

My next guess is that there is an invisible ASCII character such as a BOM ([bye order mark](https://en.wikipedia.org/wiki/Byte_order_mark)) somewhere in your String. The best way to check this would be to run your string through the following function:

```
public static String displayCharValues(String s) {
StringBuilder sb = new StringBuilder();
for (char c : s.toCharArray()) {
    sb.append((int) c).append(",");
}
return sb.toString();}

```

If a BOM is present then you will see 65279 printed out as part of the sequence. If your String contains valid numbers then you should only see the corresponding ASCII codes assocatied with numbers (<http://www.asciitable.com/>). You should see your 1910 string print out as 49,57,49,48.
using solution posted by Justin L I've noted that my string appears as:

49,57,49,48,0,0,0,0,0,0,0,0,0,0,......many others 0.

(0 = blank spaces?)

but anyway .trim() does not effect.

I resolved using a different format of string sent by my server.
Instead of: 
string+"::"+stringVersionOfInt
I've used:
string+"::"+stringVersionOfInt+"::"

now my string is correctly parsed from Integer.parseInt()

That's works!
Thank's to all!