Announcements
Hi Community,
for a Field I would like to generate a 17 Size String.
I wrote a Method on my own, but this one only gives me integer numbers.
How could I turn into a String which gives me only letters and numbers.
private void setVehicleIdentificationnumber() { RandomGenerate randomgenerate; str vehIdNumber; str rndVehIdNumber; ; randomgenerate = RandomGenerate::construct(); rndVehIdNumber += strFmt("%1", randomgenerate.randomInt(0,99999999999999999)); if (this.VehicleIdentificationnumber != rndVehIdNumber) { this.VehicleIdentificationnumber = rndVehIdNumber; } else { error("@SYC257"); } }
Thanks in advance.
*This post is locked for comments
Thanks, it woked out.
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156