Escape Codes
When create a string you may find that some character may be impossible or extremely difficult to express in the source code of your script, this is where escape codes come in handy - these allow you to use the symbols and expressions that come under this category. Below is a list of escape codes for the PAWN language.
floatstr
Konvertuje string u float.
format
Formatira string tako da sadrži varijable i druge stringove unutar njega.
ispacked
Provjerava je li zadati string spakovan.
memcpy
Kopirajte bajtove s jedne lokacije na drugu.
strcat
Ova funkcija spaja dva stringa u odredišni string.
strcmp
Upoređuje dva stringa kako pi vidjelo da li su isti.
strcopy
Copies a string into the destination string.
strdel
Obriši dio stringa.
strequal
Compares two strings to see if they are the same.
strfind
Potraži podstring u stringu.
strfloat
Converts a string to a float.
String Manipulation
Beginner friendly tutorial about everything string manipulation.
strins
Umetni string u drugi string.
strlen
Dobij dužinu stringa.
strmid
Izvuci niz znakova iz stringa.
strpack
Upakuj string.
strunpack
Ovom se funkcijom može raspakirati string.
strval
Pretvori string u cijeli broj.
swapchars
Swap bytes in a cell.
tolower
Ova funkcija mijenja jedan znak u malo slovo.
toupper
Ova funkcija mijenja jedan znak u veliko slovo.
uudecode
Dekodirajte UU kodirani string.
uuencode
Kodirajte string u UU dekodirani string.
valstr
Pretvori cijeli broj u string.