How can I separate data by keeping the first 3 digits the same?
2 views (last 30 days)
Show older comments
I have a big data file which has many variables. One of them is the userIdName ( the users name) . The first 3 digits are the same, and in the 4th digit the userIdName changes, for example 1001001,1001002,1001003 belong to the same userid , but 1002001 is a different userIdName. I have almost 100000 of those numbers and I want to find how many userIdNames I have. How can I do that? Shall I use For Loop?
4 Comments
Answers (0)
See Also
Categories
Find more on Data Type Identification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!