Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 14 Oct 2012 04:08 PM |
Should I keep ROBLOX's current string manipulation system, or create a different one?
When I say 'string manipulation', I mean using string patterns like ^k.* and stuff... |
|
|
| Report Abuse |
|
|
|
| 14 Oct 2012 04:10 PM |
| I think that's a lua thing. |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 14 Oct 2012 04:23 PM |
Well, the search system in on ROBLOX, in my admin commands (Yes, the 200K+ character one), so....
Should I leave it, or should I make my own (more laggy) one? |
|
|
| Report Abuse |
|
|
|
| 14 Oct 2012 04:28 PM |
| If it's part of lua then it'll be faster than whatever you come up with. |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 14 Oct 2012 04:29 PM |
| Ok. Will it be easier to use? |
|
|
| Report Abuse |
|
|
Droban
|
  |
| Joined: 12 Aug 2012 |
| Total Posts: 157 |
|
|
| 14 Oct 2012 06:18 PM |
| You never told us what you're searching and where it's used and all that. Very important... |
|
|
| Report Abuse |
|
|
HotThoth
|
  |
 |
| Joined: 24 Aug 2010 |
| Total Posts: 1176 |
|
|
| 15 Oct 2012 01:49 PM |
The formatting can seem a little weird/unintuitive (I have to keep looking up most of the symbols), but it's pretty powerful/easy-to-use once you get past that. Just keep a tab open with all the symbols and you'll be fine.
- HotThoth |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2012 02:23 PM |
It's really just a matter of memorizing them. Once you do, it can be pretty simple from there. |
|
|
| Report Abuse |
|
|
Legend26
|
  |
| Joined: 08 Sep 2008 |
| Total Posts: 10586 |
|
|
| 15 Oct 2012 03:51 PM |
"but it's pretty powerful/easy-to-use once you get past that."
This. After I knew most of Lua, I didn't know anything about string patterns, could never get them to work so eventually I decided to write my own page on string patterns and learn about them along the way. 'Course that led to some people hating on it a little because it wasn't perfect, but whatever. |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 16 Oct 2012 02:21 AM |
Sorry, the search system will be searching through an array of commands in my admin command system. I currently have it setup to use Lua's string matching system, but I don't think the common user can easily use it.
I'm sorry to make it sound like I needed for you guys to explain string pattern. I'm really looking into what the best method is for other players on ROBLOX. |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2012 03:50 AM |
Still not sure exactly what you mean, but I'd still suggest sticking with what Lua provides.
If you make your own standard because the current one is too confusing for _some- people, all you're really doing is making it more confusing for everybody who already understands Lua string manipulation. |
|
|
| Report Abuse |
|
|