| View previous topic :: View next topic |
| Author |
Message |
Y.A.K.E Advanced Cheater
Reputation: 0
Joined: 15 Jul 2019 Posts: 56
|
Posted: Tue Nov 08, 2022 5:20 am Post subject: string.find |
|
|
not working
| Code: |
local a=[[0000267C-ProjectCoral-Win64-Shipping.exe]]
local b=[[ProjectCoral-Win64-Shipping.exe]]
print(string.lower(a))
print(string.lower(b))
print(string.find(string.lower(a),string.lower(b)))
print(string.find('0000267c-projectcoral-win64-shipping.exe','projectcoral-win64-shipping.exe'))
local _s,_e = string.find(string.lower(a),string.lower(b))
print(_s,_e)
local c=[[projectcoral-win64-shipping.exe]]
local d=[[projectcoral-win64-shipping.exe]]
print(string.find(c,d))
|
| Description: |
|
| Filesize: |
47 KB |
| Viewed: |
1749 Time(s) |

|
|
|
| Back to top |
|
 |
LeFiXER Grandmaster Cheater Supreme
Reputation: 20
Joined: 02 Sep 2011 Posts: 1069 Location: 0x90
|
Posted: Tue Nov 08, 2022 6:21 am Post subject: |
|
|
| What is your goal here?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25813 Location: The netherlands
|
Posted: Tue Nov 08, 2022 6:55 am Post subject: |
|
|
replace the compare to string with
| Code: |
[[ProjectCoral%-Win64%-Shipping.exe]]
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Y.A.K.E Advanced Cheater
Reputation: 0
Joined: 15 Jul 2019 Posts: 56
|
Posted: Tue Nov 08, 2022 8:52 am Post subject: |
|
|
| Dark Byte wrote: | replace the compare to string with
| Code: |
[[ProjectCoral%-Win64%-Shipping.exe]]
|
|
is working,thanks
|
|
| Back to top |
|
 |
|