You are on page 1of 1

string str = system.guid.newguid().

tostring();
str = str.replace("-", string.empty);
str = str.substring(0, 5);
l1.text = str;

You might also like