Truncate value from vault
Hello!
we have this: server_print("%d. %-20.20s %d", (i + 1), data[VD_Key], data[VD_Value]); How i can truncate for printing value in data[VD_Key]: 'TIMEPLAYED' ? What i have: 3. TIMEPLAYED[P*D]Dredd 8 What i want: 3. [P*D]Dredd 8 PHP Code:
|
Re: Truncate value from vault
TIMEPLAYED%s -> %s TIMEPLAYED
|
Re: Truncate value from vault
Quote:
i want to remove the word 'TIMEPLAYED' from output of server_print but this keyword will still in DB (do not edit). |
Re: Truncate value from vault
Will the value always be? "TIMEPLAYED$name$"?
If so, just reference the string with strVariable[ 10 ] Or change it when saved? Based on your last post it sounds like you do not want to change the way its saved? PHP Code:
|
Re: Truncate value from vault
Thank you!, solved..
|
Re: Truncate value from vault
Quote:
|
| All times are GMT -4. The time now is 16:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.