Remove a tab character from a string in pawn
Does anyone know how to remove a tab character from a string in pawn?
EDIT: Made the stupid mistake of using replace instead of replace all -.- Code:
replace_all(text, 1999, " ", "") |
Re: Remove a tab character from a string in pawn
The native trim will remove tab characters.
But if you need it from the middle of the string you can use replace with "^t". |
Re: Remove a tab character from a string in pawn
Yeah I do need to remove from middle, I've changed my code to use ^t instead, thanks.
|
| All times are GMT -4. The time now is 14:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.