VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

YouTube-style ID numbers

DeltaASP  (1 Submission)   Internet/HTML   ASP (Active Server Pages)   Beginner   Sat 11th April 2026

YouTube-style ID numbers are typically generated as unique, short, and alphanumeric strings that are URL-safe. Here's an ASP function that generates such IDs:

How It Works:
Character Set: The chars variable contains a set of URL-safe characters (a-z, A-Z, 0-9, -, _).
Random Length: The ID is set to a fixed length of 11 characters, mimicking YouTube's style.
Random Generation: For each character in the ID, a random index is generated to pick a character from the chars string.
Output: The function concatenates the selected characters to form a unique string.

Rate YouTube-style ID numbers (0(0 Vote))
YouTube-style ID numbers.bas

YouTube-style ID numbers Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters