I have a huge (30mb) text document of random usernames. It looks like this:
- a0hrszq13k
- a0huod_cv4q
- a0hxyaszqfk
- a0hz
- a0i5dk349
So on and so forth...
I want to sort these so that it will show me a list of names that are below a certain number of characters. For example let's say I wanted to know all the names that have less than 5 characters, using the small segment of data above, I would know that the only answer would be "a0hz". How can I get R to compute this itself and display the results?
First time I've asked a question so feel free to ask a follow-up question if this is unclear.