Sub Categories


    Determine the Character Encoding of a File
    If you need to test the encoding of a string (usually as a result of reading a file) , the following function takes a string as parameter and returns a Boolean if the string is Unicode plus a number of bits to indicate that it is UTF-8 or UTF-16LE
    Format Number
    Takes a number and returns a number formatted with the number of decimals passed as the second parameter and using commas for the thousands
    Line Count for String
    Quick line counting function to compute the approximate number of lines required to show a string in an input box
    Plain Text Substitution
    It is often desirable to be able to find one sub-string within a longer string, or replace one sub-string with another sub-string within a longer string
    Save String to File
    This saves the contents of a string variable into a text file
    Soundex
    Computes a Soundex code from any string
    Split a Line using a Separator
    Splits a string based on a single character separator and returns an array
    Split a String into Numbers using Separators
    Various LUA and IUP features supply a series of numbers as a string with separators such as space or comma or ‘x‘
    Translate Output Language
    This allows the Default Output Language ( ) to be determined, and the associated Language Pack used to translate words and phrases into that language
    Unicode String Functions
    Important note: It is recommended that you use the utf8 library in Family Historian 5, 6 and 7 (combined with the compat53 library in Family Historian 5 and 6), to access a set of UTF8 string handling functions which supersede the code below