|
| 25 Jul 2013 04:34 PM |
| Is there a way to find certain words kind of like CTRL+F on Google Crome? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 25 Jul 2013 04:38 PM |
| daplox? are you talking about in roblox studio's script editor? ctrl + f works I believe |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2013 04:38 PM |
| By the way don't mean to anger you but you're in the wrong forum buddy. |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2013 04:41 PM |
String:find(PartialString) or String:match(PartialString)
local String = "Hello citizens"
print(String:find("cit")) --> 7, 9 (That's where 'cit' is located.)
if (String:find("el")) then print("el found") end
local String = "1234BAE f"
print(String:match("BA")) --> BA print(String:match("%d+")) -->1234 print(String:match("%a+")) -->BAE print(String:match("(%d+).+(%l+)")) --> 1234 f
(http://wiki.roblox.com/index.php/String_pattern) |
|
|
| Report Abuse |
|
|