Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 16 Mar 2012 11:24 PM |
| Is there a simple way to do this, or does it require me to write a new function. |
|
|
| Report Abuse |
|
|
|
| 16 Mar 2012 11:27 PM |
string.sub(String, " ", "")
?? |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 16 Mar 2012 11:31 PM |
Nope. I'm going to use gsub..
Would:
string.gsub(string, "%s", "")
work? |
|
|
| Report Abuse |
|
|
|
| 16 Mar 2012 11:54 PM |
Woops, I meant gsub. My bad.
Yes, %s will get rid of all spaces. |
|
|
| Report Abuse |
|
|