|
| 07 Nov 2014 09:58 PM |
I want to change something like: "lvl783925" to just "lvl" How do I do this?
|
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 07 Nov 2014 10:01 PM |
Codepad; BDhJfYRg
for some reason its blocked |
|
|
| Report Abuse |
|
|
jakej78b
|
  |
| Joined: 09 Mar 2011 |
| Total Posts: 813 |
|
|
| 07 Nov 2014 10:01 PM |
| string.sub("lvl783925", 3) |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2014 10:05 PM |
| The problem is, the first 3 letters were an example, so using that value every time wont work. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
| |
|
| |
|
|
| 07 Nov 2014 10:17 PM |
I laugh sometimes.
script.Parent.Text = "lvl" .. That.Level.Value
or what ever there
"lvl" .. That.Level.Value |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2014 10:32 PM |
| Thats for joining strings, I want to separate them. |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2014 10:37 PM |
| string.find("lvl8645442", "lvl") |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 07 Nov 2014 10:38 PM |
| You've already been given the answer, manipulate it to your uses. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 07 Nov 2014 11:01 PM |
'Yours is nonsense'
Mine works. |
|
|
| Report Abuse |
|
|