User Tools

Site Tools


strings
STRUP - converts a string to all uppercase
   syntax STRUP[str s]:str

STRLOW - converts a string to all lowercase
   syntax STRLOW[str s]:str

STRMCI - processes any mci codes in the string
   syntax STRMCI[str s]:str

STRNOCOLOR - converts a string with pipe codes to one without
   syntax STRNOCOLOR[str s]:str

STRWIERD   - converts all vowels in a string to lower case
   syntax STRWIERD[str s]:str

STR31337   - converts a string with some letters to numbers
   syntax STR31337[str s]:str


STRINSCOLOR - inserts color codes into a string
   syntax STRINSCOLOR[str,#,#,#]:str

STRINSERT - inserts a string into a string at possision x
   syntax STRINSERT[str,str,byte]:str

STRYESNO - returns yes or no depending on value of yn
   syntax STRYESNO[bool yn]:str

STRPOS - returns location of "substring" in string "s", return 0 if not found
   syntax STRPOS[str substring, s]:byte

STRTRIM - removes leading and trailing spaces
   syntax STRTRM[str s]:str

STRMIXED - capitalizes first letters of all words, converts rest to lowercase
   syntax STRMIXED[str s]:str

STRNOCOL - removes color codes from a string
   syntax STRNOCOL[str s]:str


STRSIZE - pads a string with spaces or truncates to specified size, does not
          count color codes
   syntax STRSIZE[str s, byte length]:str

STRSIZENC - pads a string with spaces or truncates to specified size, counts
            color codes
   syntax STRSIZENC[str s, byte length]:str

STRSIZER - same as STRSIZE, but right-justifies string (adds spaces before)
   syntax STRSIZER[str s, byte length]:str

STRINT - converts a number to a string
   syntax STRINT[long num]:str

STRREAL - converts a real number to a string with a certain number of
          characters and a certain number of decimal places
   syntax STRREAL[real num; byte char, decs]:str

STRINTC - converts a number to a string, add commas every three spaces
   syntax STRINTC[long num]:str


STRSQUISH - truncates string if longer than specified length
   syntax STRSQUISH[str s; byte length]:str

STRREPLACE - searches a string and replaces "find" with "replace"
   syntax STRREPLACE[str s,"find","replace"]:str

STRCOPY - copies a string of "x" characters from "start" position in string
   syntax STRCOPY[str s; byte start,x]:str

STRDEL - deletes "x" characters from string starting at "start" position
   syntax STRDEL[str s; byte start,x]:str

STRREPEAT - returns a string containing "count" number of "s<1>"
   syntax STRREPEAT[str s; byte count]:str

STRLEN - returns the length of a string (no codes stripped)
   syntax STRLEN[str s]:byte

STRCODE - inserts a string into a string at %Sx
   syntax STRCODE[str 1, byte x, str 2]


STRGET - returns the specified string (from strings.dat)
   syntax STRGET[word str#]:str

STRVAL - converts a string to a longint
   syntax STRVAL[str s]:long

ASCIICHR - converts a number to the ascii character
   syntax ASCIICHR[byte b]:char
strings.txt · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki