Variable in String

I’ve been looking but haven’t yet found any way to merge strings and a variable together.

Something like “You found x bullets”

Being new to Unity and JavaScript I don’t really know too much, so sorry if it’s a painfully obvious answer.

Nevermind, I found the solution myself. For those who have the same issue in future, use this:

var ammo : int;

GUI.Label (Rect (5, 5, 75, 75), "You found "+ ammo + " bullets.";