Mod:Lighthouse Papyrus Extender/String

String Functions
{| style="width:100%;"
 * valign="top" style="width: 85%;" |

HexToInt

 * Converts a hex string to an integer

int Function HexToInt(string hexString) global native

IntToBin

 * Converts an integer to binary, with the optional  parameter to prefix   to the output
 * allows to choose how many leading zeros are present, but is capped at 32 i.e.

string Function IntToBin(int aiNumToConvert, int aiBinWidth, bool abAddPrefix) global native

IntToHex

 * Converts an integer to hex, with the optional  parameter to prefix   to the output
 * allows to choose how many leading zeros are present, but is capped at 8 i.e.

string Function IntToHex(int aiNumToConvert, int aiHexWidth, bool abAddPrefix) global native

StringToInt

 * Extracts integers from a string e.g.  will be returned as

int Function StringToInt(string asIntString) global native


 * valign="top" style="width: 15%;"|


 * }