oscar-broman / strlib

String functions for SA-MP Pawn scripting.
50 stars 16 forks source link

Removing Hex Colours from a String. {RRGGBB} #23

Open HartyChock opened 2 years ago

HartyChock commented 2 years ago

Hello, how can I reprocess a string that has {RRGGBB] Hex Colours to delete only them? Without changing/removing colours to every single line manually?

Example: string[128] = "{FFFF00}Text"; Convert to: "Text"

Best regards and thanks for your time.