|
| 03 Apr 2013 11:42 PM |
What would you do to get everything BUT a character? For example, find everything but ';'? |
|
|
| Report Abuse |
|
|
frogs7798
|
  |
| Joined: 01 Apr 2011 |
| Total Posts: 1629 |
|
|
| 03 Apr 2013 11:47 PM |
| I don't know lua very well, however I know that you could split the string and then concentrate it back together. |
|
|
| Report Abuse |
|
|
|
| 03 Apr 2013 11:48 PM |
| Would I need to make a set with everything in it but semi-colon, or is there a better way? |
|
|
| Report Abuse |
|
|
|
| 03 Apr 2013 11:56 PM |
Make a set with negation:
:match("([^;])");
^ negates a set. |
|
|
| Report Abuse |
|
|
|
| 04 Apr 2013 12:04 AM |
Okay I'm not really understanding this.
What I'm trying to get is:
Chat = "Output 4 + 4; 'Hello'; 4 == 4"
I'm not really understanding how I'd do this. |
|
|
| Report Abuse |
|
|
| |
|
| |
|