Yes, just convert the int to a String.
Shortest way is string concatenation because that converts automatically, eg ""+count
... but some people dislike that because it's a bit obscure, in which case the "official" ways areInteger.toString(count)
or String.valueOf(count)
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Vinolia commented: the method signature is really correct +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
broj1 commented: I like this one ;.) +11
gentlemedia commented: Yes, usability testing can be done relatively cheap. Okay... it takes time, but if the reward is happy users. +5
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
shayan_doust commented: Brilliant, thanks! I will try it tomorrow (It's 10 PM local) and I will keep you updated. +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
samuelmathews commented: thankyou sooo much, +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Doogledude123 commented: Nice tip with the static, I do know it so I'm not sure why I didn't bother using it. +3
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Ghost0s commented: THanks +1
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
ddanbe commented: True indeed. +15
Santanu.Das commented: Right solution +6
mayank7296 commented: thanks +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
ddanbe commented: Instructive & helpful +15
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
peter_budo commented: My thought... +16
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Munazza_1 commented: It throws exception on second one. The first one works for one text file, i want to iterate it over the same folder for all file. Same path +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster