Hi, how do I check if a string only consists of one character type? e.g A string that contains only a's ('aaaaaaaaaaaaaaaa')
COMMUNITY QUESTION
How to check if a string consists of only one type of character?
1 answer
I have something. Put it in Workspace:
for i,v in pairs(workspace:GetChildren()) do
if v.Name == "aaaaaaaaaaaaaaaa" then
print("b")
end
end
For future purposes, this website is for fixing code, not making it for them.
2 comments
0
I don't know what you are saying, but this is the best I got.
0
This is not the solution I was looking for.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
what do you mean