Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

GUI String: How do I check if theres anything inside a string?

Asked by 9 years ago

I am making a custom License Plate number for my friend Lovecarboy but how do I make the script check if there`s any string (or number) inside

function =

If there`s nothing inside the string = error message pops up

if theres number then it will allow people to click submit, removing the gui If theres letters but not numbers, it will also pop up an error message

0
This is not a request site. This is the third time I told someone this month ._. obcdino 113 — 9y
0
@obcdino clearly he wasn't asking for a script. You could simply show him a simple syntax for it, or give him suggestions, an idea on how to solve his problem. DragonODeath 50 — 9y
0
@obcdino, If that's only the third time this month you haven't been on the site much lol Perci1 4988 — 9y

1 answer

Log in to vote
5
Answered by
BlastNet 250 Moderation Voter
9 years ago

If I'm correct, this is what your looking for: http://wiki.roblox.com/index.php?title=Function_dump/String_manipulation#string.find

Ad

Answer this question