Jump to content
UBot Underground

How Do I? Count & Trim the Number of Characters in a Variable or List Item


Recommended Posts

Alright, I'm looking to create accounts at a certain site, but the site has a very strange rule that your username can't be longer than 8 characters ???

 

This is creating problems because almost every single one of the randomly generated usernames that comes out of uBot is longer than that.

 

How do I trim a randomly generated username to 8 characters or less?

 

I say count and trim either a variable or list item because it can be done either way. If I can just have it count/trim the $username variable right from the source, that'd be great.

 

However, if I have to add the $username variable to a list, then count/trim it, and then put THAT into the appropriate field, that's fine too.

 

I just don't know how to do either one of those.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...