All Functions and Procedures

Name Unit Description
arrayAdd bbutils Adds element e to array a. Returns i with a[i]=e
arrayAdd bbutils Adds elements from a2 e to array a. Returns the OLD length of a
arrayAdd bbutils Adds element e to array a. Returns i with a[i]=e
arrayAdd bbutils Adds element e to array a. Returns i with a[i]=e
arrayAdd bbutils Adds element e to array a. Returns i with a[i]=e
arrayAdd bbutils Adds elements from a2 e to array a. Returns the OLD length of a
arrayAdd bbutils Adds elements from a2 e to array a. Returns the OLD length of a
arrayAdd bbutils Adds elements from a2 e to array a. Returns the OLD length of a
arrayAdd bbutils Adds elements from a2 e to array a. Returns the OLD length of a
arrayAdd bbutils Adds element e to array a. Returns i with a[i]=e
arrayAdd bbutils_template Adds element e to array a. Returns i with a[i]=e
arrayAdd bbutils_template Adds elements from a2 e to array a. Returns the OLD length of a
arrayAddFast bbutils returns i with a[i]=e
arrayAddFast bbutils returns i with a[i]=e
arrayAddFast bbutils returns i with a[i]=e
arrayAddFast bbutils returns i with a[i]=e
arrayAddFast bbutils_template returns i with a[i]=e
arrayAddFast bbutils returns i with a[i]=e
arrayCompare bbutils Compares two array/slices (interleaved slice parameters, so arrayEqual(a,b,3,3) compares the first 3 elements)
arrayCompare bbutils Compares two array/slices (interleaved slice parameters, so arrayEqual(a,b,3,3) compares the first 3 elements)
arrayCompare bbutils_template Compares two array/slices (interleaved slice parameters, so arrayEqual(a,b,3,3) compares the first 3 elements)
arrayCompare bbutils Compares two array/slices (interleaved slice parameters, so arrayEqual(a,b,3,3) compares the first 3 elements)
arrayCompare bbutils Compares two array/slices (interleaved slice parameters, so arrayEqual(a,b,3,3) compares the first 3 elements)
arrayCompare bbutils Compares two array/slices (interleaved slice parameters, so arrayEqual(a,b,3,3) compares the first 3 elements)
arrayDelete bbutils Removes element at position i from a (destroying the order of the elements)
Returns e=a[i]
arrayDelete bbutils_template Removes element at position i from a (destroying the order of the elements)
Returns e=a[i]
arrayDelete bbutils Removes element at position i from a (destroying the order of the elements)
Returns e=a[i]
arrayDelete bbutils Removes element at position i from a (destroying the order of the elements)
Returns e=a[i]
arrayDelete bbutils Removes element at position i from a (destroying the order of the elements)
Returns e=a[i]
arrayDelete bbutils Removes element at position i from a (destroying the order of the elements)
Returns e=a[i]
arrayDeleteFast bbutils_template Removes element at position i from a (destroying the order of the elements)
Returns e=a[i]
arrayDeleteFast bbutils Removes element at position i from a (destroying the order of the elements)
Returns e=a[i]
arrayDeleteFast bbutils Removes element at position i from a (destroying the order of the elements)
Returns e=a[i]
arrayDeleteFast bbutils Removes element at position i from a (destroying the order of the elements)
Returns e=a[i]
arrayDeleteFast bbutils Removes element at position i from a (destroying the order of the elements)
Returns e=a[i]
arrayDeleteFast bbutils Removes element at position i from a (destroying the order of the elements)
Returns e=a[i]
arrayEqual bbutils Tests if two array/slices are equal (interleaved slice parameters, so arrayEqual(a,b,3,3) tests the first 3 elements)
arrayEqual bbutils Tests if two array/slices are equal (interleaved slice parameters, so arrayEqual(a,b,3,3) tests the first 3 elements)
arrayEqual bbutils Tests if two array/slices are equal (interleaved slice parameters, so arrayEqual(a,b,3,3) tests the first 3 elements)
arrayEqual bbutils Tests if two array/slices are equal (interleaved slice parameters, so arrayEqual(a,b,3,3) tests the first 3 elements)
arrayEqual bbutils Tests if two array/slices are equal (interleaved slice parameters, so arrayEqual(a,b,3,3) tests the first 3 elements)
arrayEqual bbutils_template Tests if two array/slices are equal (interleaved slice parameters, so arrayEqual(a,b,3,3) tests the first 3 elements)
arrayGet bbutils_template Returns the i-th element of the array. If i < 0, the indices are taken from the end of the array. (which is actually the only use case)
arrayGet bbutils Returns the i-th element of the array. If i < 0, the indices are taken from the end of the array. (which is actually the only use case)
arrayGet bbutils Returns the i-th element of the array. If i < 0, the indices are taken from the end of the array. (which is actually the only use case)
arrayGet bbutils Returns the i-th element of the array. If i < 0, the indices are taken from the end of the array. (which is actually the only use case)
arrayGet bbutils Returns the i-th element of the array. If i < 0, the indices are taken from the end of the array. (which is actually the only use case)
arrayGet bbutils Returns the i-th element of the array. If i < 0, the indices are taken from the end of the array. (which is actually the only use case)
arrayIndexOf bbutils Find element e in the array/slice (see above)
arrayIndexOf bbutils Find element e in the array/slice (see above)
arrayIndexOf bbutils Find element e in the array/slice (see above)
arrayIndexOf bbutils Find element e in the array/slice (see above)
arrayIndexOf bbutils_template Find element e in the array/slice (see above)
arrayIndexOf bbutils Find element e in the array/slice (see above)
arrayIndexOfLargest bbutils_template Find the largest element in the array/slice (see above)
arrayIndexOfLargest bbutils Find the largest element in the array/slice (see above)
arrayIndexOfLargest bbutils Find the largest element in the array/slice (see above)
arrayIndexOfLargest bbutils Find the largest element in the array/slice (see above)
arrayIndexOfLargest bbutils Find the largest element in the array/slice (see above)
arrayIndexOfLargest bbutils Find the largest element in the array/slice (see above)
arrayIndexOfSmallest bbutils Find the smallest element, in the array/slice (see above)
arrayIndexOfSmallest bbutils Find the smallest element, in the array/slice (see above)
arrayIndexOfSmallest bbutils Find the smallest element, in the array/slice (see above)
arrayIndexOfSmallest bbutils Find the smallest element, in the array/slice (see above)
arrayIndexOfSmallest bbutils Find the smallest element, in the array/slice (see above)
arrayIndexOfSmallest bbutils_template Find the smallest element, in the array/slice (see above)
arrayInvert bbutils Inverts the order of the elements in the array/slice (see above)
arrayInvert bbutils Inverts the order of the elements in the array/slice (see above)
arrayInvert bbutils Inverts the order of the elements in the array/slice (see above)
arrayInvert bbutils_template Inverts the order of the elements in the array/slice (see above)
arrayInvert bbutils Inverts the order of the elements in the array/slice (see above)
arrayInvert bbutils Inverts the order of the elements in the array/slice (see above)
arrayLast bbutils Returns the last element of the array, returns default, iff the array is empty
arrayLast bbutils Returns the last element of the array, returns default, iff the array is empty
arrayLast bbutils Returns the last element of the array, raises exception, iff the array is empty
arrayLast bbutils_template Returns the last element of the array, returns default, iff the array is empty
arrayLast bbutils_template Returns the last element of the array, raises exception, iff the array is empty
arrayLast bbutils Returns the last element of the array, returns default, iff the array is empty
arrayLast bbutils Returns the last element of the array, returns default, iff the array is empty
arrayLast bbutils Returns the last element of the array, raises exception, iff the array is empty
arrayLast bbutils Returns the last element of the array, returns default, iff the array is empty
arrayLast bbutils Returns the last element of the array, raises exception, iff the array is empty
arrayLast bbutils Returns the last element of the array, raises exception, iff the array is empty
arrayLast bbutils Returns the last element of the array, raises exception, iff the array is empty
arrayReserveFast bbutils Ensures that a has at least reserveLength elements
arrayReserveFast bbutils Ensures that a has at least reserveLength elements
arrayReserveFast bbutils Ensures that a has at least reserveLength elements
arrayReserveFast bbutils Ensures that a has at least reserveLength elements
arrayReserveFast bbutils Ensures that a has at least reserveLength elements
arrayReserveFast bbutils_template Ensures that a has at least reserveLength elements
arraySlice bbutils Extracts a array slice
arraySlice bbutils Extracts a array slice
arraySlice bbutils_template Extracts a array slice
arraySlice bbutils Extracts a array slice
arraySlice bbutils Extracts a array slice
arraySlice bbutils Extracts a array slice
binomial bbutils Calculates n|k = n!/k!(n-k)!
binomial bbutils_template Calculates n|k = n!/k!(n-k)!
binomialDeviation bbutils deviation(=sqrt(variance)) of a binomial distribution
binomialDeviation bbutils_template deviation(=sqrt(variance)) of a binomial distribution
binomialExpectation bbutils expectated value of a binomial distribution
binomialExpectation bbutils_template expectated value of a binomial distribution
binomialProbability bbutils_template probability: P(X = k) where X is binomial distributed with n possible values (exact value calculated with binomial coefficients, )
binomialProbability bbutils probability: P(X = k) where X is binomial distributed with n possible values (exact value calculated with binomial coefficients, )
binomialProbabilityApprox bbutils expectated value of a binomial distribution (approximates the value with either Poisson or Moivre and Laplace, depending on the variance of the distribution) )
binomialProbabilityApprox bbutils_template expectated value of a binomial distribution (approximates the value with either Poisson or Moivre and Laplace, depending on the variance of the distribution) )
binomialProbabilityDeviationOf bbutils_template probability: P(X >= mu + d or X <= mu - d) where X is binomial distributed with n possible values
binomialProbabilityDeviationOf bbutils probability: P(X >= mu + d or X <= mu - d) where X is binomial distributed with n possible values
binomialProbabilityGE bbutils probability: P(X >= k) where X is binomial distributed with n possible values
binomialProbabilityGE bbutils_template probability: P(X >= k) where X is binomial distributed with n possible values
binomialProbabilityLE bbutils probability: P(X <= k) where X is binomial distributed with n possible values
binomialProbabilityLE bbutils_template probability: P(X <= k) where X is binomial distributed with n possible values
binomialVariance bbutils variance of a binomial distribution
binomialVariance bbutils_template variance of a binomial distribution
binomialZScore bbutils_template Z-Score of the value k in a distribution with n outcomes
binomialZScore bbutils Z-Score of the value k in a distribution with n outcomes
convertTemplate pastemplate Parses a simple pascal template.


It may contain the following commands:
{%REPEAT x, [a, b, c, ..]} .. {%END-REPEAT}
Creates several copy of the text between REPEAT and END-REPEAT while replacing x by a in the first copy, x by b in the second, ...

{%REPEAT (x, y), [(a1, a2), (b1, b2), ...]} .. {%END-REPEAT}
Creates several copy of the text between REPEAT and END-REPEAT while replacing x by a1 and y by a2 in the first copy, x by b1 and y by b2 in the second, ...

{%REPEAT} .. {%END-REPEAT}
Removes the text between REPEAT and END-REPEAT (i.e. make exactly zero copies)

{%COMPARE x =/<> y} .. {%END-COMPARE}
Only inserts the text if x=y or x<>y. Its just comparing the trimmed text

{%SPECIAL:foobar}
Calls an external callback function with the value foobar

}
coprime bbutils Checks if two numbers are coprime
coprime bbutils_template Checks if two numbers are coprime
dateDecode bbutils_template Encodes a date as datetime (supports negative years)
dateDecode bbutils Encodes a date as datetime (supports negative years)
dateEncode bbutils_template Encodes a date as datetime (supports negative years)
dateEncode bbutils Encodes a date as datetime (supports negative years)
dateEncodeTry bbutils_template Encodes a date as datetime (supports negative years)
dateEncodeTry bbutils Encodes a date as datetime (supports negative years)
dateFormat bbutils_template Converts a dateTime to a string corresponding to the given mask (same mask as dateTimeParsePartsTry)
dateFormat bbutils Converts a dateTime to a string corresponding to the given mask (same mask as dateTimeParsePartsTry)
dateIsLeapYear bbutils_template  
dateIsLeapYear bbutils  
dateParse bbutils_template Reads a date string given a certain mask (@see dateTimeParsePartsTry)
This function checks, if the date is valid.
dateParse bbutils Reads a date string given a certain mask (@see dateTimeParsePartsTry)
This function checks, if the date is valid.
dateParseParts bbutils Reads a date string given a certain mask (@see dateTimeParsePartsTry)
dateParseParts bbutils_template Reads a date string given a certain mask (@see dateTimeParsePartsTry)
dateTimeEncode bbutils_template Encodes a date time
dateTimeEncode bbutils Encodes a date time
dateTimeFormat bbutils_template Converts a dateTime to a string corresponding to the given mask (same mask as dateTimeParsePartsTry)
dateTimeFormat bbutils_template Converts a dateTime to a string corresponding to the given mask (same mask as dateTimeParsePartsTry)
dateTimeFormat bbutils Converts a dateTime to a string corresponding to the given mask (same mask as dateTimeParsePartsTry)
dateTimeFormat bbutils Converts a dateTime to a string corresponding to the given mask (same mask as dateTimeParsePartsTry)
dateTimeParseParts bbutils Reads date/time parts from a input matching a given mask (@see dateTimeParsePartsTry)
dateTimeParseParts bbutils_template Reads date/time parts from a input matching a given mask (@see dateTimeParsePartsTry)
dateTimeParsePartsTry bbutils_template Reads a date time string given a certain mask (mask is case-sensitive)
The uses the same mask types as FormatDate:
s or ss for a second
n or nn for a minute
h or hh for a hour
d or dd for a numerical day
m or mm for a numerical month, mmm for a short month name, mmmm for a long month name
am/pm or a/p match am/pm or a/p yy, yyyy or [yy]yy for the year. (if the year is < 90, it will become 20yy, else if it is < 100, it will become 19yy, unless you use uppercase Y instead of y)
YY, YYYY or [YY]YY for the year
z, zz, zzz, zzzz for milliseconds (e.g. use [.zzzzzz] for optional ms with exactly 6 digit precision, use [.z[z[z[z[z[z]]]]]] for optional ms with up to 6 digit precision) Z for the ISO time zone (written as regular expressions, it matches 'Z | [+-]hh(:?mm)?'. Z is the only format char (except mmm) matching several characters) The letter formats d/y/h/n/s matches one or two digits, the dd/mm/yy formats require exactly two.
yyyy requires exactly 4 digits, and [yy]yy works with 2 or 4 (there is also [y]yyy for 3 to 4). The year always matches an optional - (e.g. yyyy also matches -0012, but not -012)
Generally [x] marks the part x as optional (it tries all possible combinations, so you shouldn't have more than 10 optional parts)
x+ will match any additional amount of x. (e.g. yy -> 2 digit year, yy+ -> at least 2 digit year, yyyy -> 4 digit year, [yy]yy -> 2 or 4 digit year) "something" can be used to match the input verbatim
whitespace is matched against whitespace (i.e. [ #9#10#13]+ matches [ #9#10#13]+) The function works if the string is latin-1 or utf-8, and it also supports German month names
If a part is not found, it returns high(integer), except for outSecondFraction which will be 0 at not found, and outtimezone which will be NaN
dateTimeParsePartsTry bbutils Reads a date time string given a certain mask (mask is case-sensitive)
The uses the same mask types as FormatDate:
s or ss for a second
n or nn for a minute
h or hh for a hour
d or dd for a numerical day
m or mm for a numerical month, mmm for a short month name, mmmm for a long month name
am/pm or a/p match am/pm or a/p yy, yyyy or [yy]yy for the year. (if the year is < 90, it will become 20yy, else if it is < 100, it will become 19yy, unless you use uppercase Y instead of y)
YY, YYYY or [YY]YY for the year
z, zz, zzz, zzzz for milliseconds (e.g. use [.zzzzzz] for optional ms with exactly 6 digit precision, use [.z[z[z[z[z[z]]]]]] for optional ms with up to 6 digit precision) Z for the ISO time zone (written as regular expressions, it matches 'Z | [+-]hh(:?mm)?'. Z is the only format char (except mmm) matching several characters) The letter formats d/y/h/n/s matches one or two digits, the dd/mm/yy formats require exactly two.
yyyy requires exactly 4 digits, and [yy]yy works with 2 or 4 (there is also [y]yyy for 3 to 4). The year always matches an optional - (e.g. yyyy also matches -0012, but not -012)
Generally [x] marks the part x as optional (it tries all possible combinations, so you shouldn't have more than 10 optional parts)
x+ will match any additional amount of x. (e.g. yy -> 2 digit year, yy+ -> at least 2 digit year, yyyy -> 4 digit year, [yy]yy -> 2 or 4 digit year) "something" can be used to match the input verbatim
whitespace is matched against whitespace (i.e. [ #9#10#13]+ matches [ #9#10#13]+) The function works if the string is latin-1 or utf-8, and it also supports German month names
If a part is not found, it returns high(integer), except for outSecondFraction which will be 0 at not found, and outtimezone which will be NaN
dateWeekOfYear bbutils_template Week of year
dateWeekOfYear bbutils Week of year
factorial bbutils Calculates i!
factorial bbutils_template Calculates i!
gcd bbutils Calculates the greatest common denominator
gcd bbutils_template Calculates the greatest common denominator
initGlobalTranslation ptranslateutils  
initUnitTranslation ptranslateutils This initialize the translator for the given unit.
Theoretical this translator should be freed at program end, but don't do it, because Windows frees this memory automatically and every translator is created only once
intBound bbutils  
intBound bbutils  
intBound bbutils_template  
intFactor bbutils_template Given a number n, this procedure calculates the maximal integer e, so that n = pˆe * r
intFactor bbutils Given a number n, this procedure calculates the maximal integer e, so that n = pˆe * r
intLog bbutils log_b n rounded down (= number of digits of n in base b - 1)
intLog bbutils_template log_b n rounded down (= number of digits of n in base b - 1)
intLog10 bbutils_template log 10 rounded down (= number of digits in base 10 - 1)
intLog10 bbutils log 10 rounded down (= number of digits in base 10 - 1)
intSieveDivisorCount bbutils This calculates the number of divisors: divcount[i] := |{1 <= j <= i | i mod j = 0}| for all i <= n.
Speed: 10ˆ7 in 5s
intSieveDivisorCount bbutils_template This calculates the number of divisors: divcount[i] := |{1 <= j <= i | i mod j = 0}| for all i <= n.
Speed: 10ˆ7 in 5s
intSieveEulerPhi bbutils This calculates the euler phi function totient[i] := phi(i) = |{1 <= j <= i | gcd(i,j) = 0}| for all i <= n.
It uses a sieve approach and is quite fast (10ˆ7 in 3s)
You can also use it to calculate all primes (i is prime iff phi(i) = i - 1)
intSieveEulerPhi bbutils_template This calculates the euler phi function totient[i] := phi(i) = |{1 <= j <= i | gcd(i,j) = 0}| for all i <= n.
It uses a sieve approach and is quite fast (10ˆ7 in 3s)
You can also use it to calculate all primes (i is prime iff phi(i) = i - 1)
modPow bbutils Calculates iˆe mod m in O(log(e)) and never exceeding m
modPow bbutils Calculates iˆe mod m in O(log(e)) and never exceeding m
modPow bbutils_template Calculates iˆe mod m in O(log(e)) and never exceeding m
pascalizeName ptranslateutils  
procedureToMethod bbutils_template  
procedureToMethod bbutils  
stableSort bbutils_template General stable sort function
a is the first element in the array to sort, and b is the last. size is the size of every element
compareFunction is a function which compares two pointer to elements of the array, if it is nil, it will compare the raw bytes (which will correspond to an ascending sorting of positive integers).
Currently it uses a combination of merge and insert sort. Merge requires the allocation of additional memory.
stableSort bbutils_template general stable sort function (using merge + insert sort in the moment)
stableSort bbutils General stable sort function
a is the first element in the array to sort, and b is the last. size is the size of every element
compareFunction is a function which compares two pointer to elements of the array, if it is nil, it will compare the raw bytes (which will correspond to an ascending sorting of positive integers).
Currently it uses a combination of merge and insert sort. Merge requires the allocation of additional memory.
stableSort bbutils general stable sort function (using merge + insert sort in the moment)
strBeginsWith bbutils_template Tests if the p starts with expectedStart (p is null-terminated)
strBeginsWith bbutils_template Tests if the strToBeExaminated starts with expectedStart
strBeginsWith bbutils Tests if the p starts with expectedStart (p is null-terminated)
strBeginsWith bbutils Tests if the strToBeExaminated starts with expectedStart
strChangeEncoding bbutils Changes the string encoding from from to toe
strChangeEncoding bbutils_template Changes the string encoding from from to toe
strCompareClever bbutils Case sensitive, clever comparison, that basically splits the string into lexicographical and numerical parts and compares them accordingly
strCompareClever bbutils_template Case sensitive, clever comparison, that basically splits the string into lexicographical and numerical parts and compares them accordingly
strContains bbutils_template Tests if searched exists in str case-sensitive (Attention: opposite parameter to pos)
strContains bbutils_template Tests if searched exists in str case-sensitive (Attention: opposite parameter to pos)
strContains bbutils Tests if searched exists in str case-sensitive (Attention: opposite parameter to pos)
strContains bbutils Tests if searched exists in str case-sensitive (Attention: opposite parameter to pos)
strConvertFromUtf8 bbutils Converts a utf-8 string to the encoding from
strConvertFromUtf8 bbutils_template Converts a utf-8 string to the encoding from
strConvertToUtf8 bbutils_template Returns a utf-8 string from the string in encoding from
strConvertToUtf8 bbutils Returns a utf-8 string from the string in encoding from
strCopyFrom bbutils Returns the substring of s containing all characters after start (including s[start]
strCopyFrom bbutils_template Returns the substring of s containing all characters after start (including s[start]
strDecodeHex bbutils_template  
strDecodeHex bbutils  
strDecodeHTMLEntities bbutils_template This decodes all html entities to the given encoding. If strict is not set it will ignore wrong entities (so e.g. X&Y will remain X&Y and you can call the function even if it contains rogue &).
strDecodeHTMLEntities bbutils_template This decodes all html entities to the given encoding. If strict is not set it will ignore wrong entities (so e.g. X&Y will remain X&Y and you can call the function even if it contains rogue &).
strDecodeHTMLEntities bbutils This decodes all html entities to the given encoding. If strict is not set it will ignore wrong entities (so e.g. X&Y will remain X&Y and you can call the function even if it contains rogue &).
strDecodeHTMLEntities bbutils This decodes all html entities to the given encoding. If strict is not set it will ignore wrong entities (so e.g. X&Y will remain X&Y and you can call the function even if it contains rogue &).
strDecodeUTF8Character bbutils_template Returns the unicode code point of the utf-8 character starting at str[curpos] and increments curpos to the next utf-8 character. Returns a negative value if the character is invalid.
strDecodeUTF8Character bbutils Returns the unicode code point of the utf-8 character starting at str[curpos] and increments curpos to the next utf-8 character. Returns a negative value if the character is invalid.
strDup bbutils Creates count copies of rep
strDup bbutils_template Creates count copies of rep
strEncodeHex bbutils  
strEncodeHex bbutils_template  
strEncodingFromName bbutils_template Gets the encoding from an encoding name (e.g. from http-equiv)
strEncodingFromName bbutils Gets the encoding from an encoding name (e.g. from http-equiv)
strEndsWith bbutils_template Tests if the strToBeExaminated ends with expectedEnd
strEndsWith bbutils Tests if the strToBeExaminated ends with expectedEnd
strEqual bbutils Tests if the strings are case-insensitive equal (same length and same characters)
strEqual bbutils_template Tests if the strings are case-insensitive equal (same length and same characters)
strEscape bbutils Replace all occurences of x \in toEscape with escapeChar + x
strEscape bbutils_template Replace all occurences of x \in toEscape with escapeChar + x
strEscapeRegex bbutils_template Returns a regex matching s
strEscapeRegex bbutils Returns a regex matching s
strFromInt bbutils_template Creates a string to display an integer. The result will have at least displayLength digits (digits, not characters, so -1 with length 2, will become -02).
strFromInt bbutils Creates a string to display an integer. The result will have at least displayLength digits (digits, not characters, so -1 with length 2, will become -02).
strFromPchar bbutils_template Returns the first l bytes of p (copies them so O(n))
strFromPchar bbutils Returns the first l bytes of p (copies them so O(n))
strFromPtr bbutils Creates a string to display the value of a pointer (e.g. 0xDEADBEEF)
strFromPtr bbutils_template Creates a string to display the value of a pointer (e.g. 0xDEADBEEF)
strFromSIze bbutils_template converts a size (measured in bytes) to a string (e.g. 1025 -> 1 KiB)
strFromSIze bbutils converts a size (measured in bytes) to a string (e.g. 1025 -> 1 KiB)
strGetUnicodeCharacter bbutils Get unicode character character in a certain encoding
strGetUnicodeCharacter bbutils_template Get unicode character character in a certain encoding
striBeginsWith bbutils_template Tests if the strToBeExaminated starts with expectedStart
striBeginsWith bbutils_template Tests if the p starts with expectedStart (p is null-terminated)
striBeginsWith bbutils Tests if the strToBeExaminated starts with expectedStart
striBeginsWith bbutils Tests if the p starts with expectedStart (p is null-terminated)
striCompareClever bbutils_template Case insensitive, clever comparison, that basically splits the string into lexicographical and numerical parts and compares them accordingly
striCompareClever bbutils Case insensitive, clever comparison, that basically splits the string into lexicographical and numerical parts and compares them accordingly
striContains bbutils_template Tests if searched exists in str case-insensitive (Attention: opposite parameter to pos)
striContains bbutils Tests if searched exists in str case-insensitive (Attention: opposite parameter to pos)
striContains bbutils_template Tests if searched exists in str case-insensitive (Attention: opposite parameter to pos)
striContains bbutils Tests if searched exists in str case-insensitive (Attention: opposite parameter to pos)
striEndsWith bbutils Tests if the strToBeExaminated ends with expectedEnd
striEndsWith bbutils_template Tests if the strToBeExaminated ends with expectedEnd
striEqual bbutils_template Tests if the strings are case-insensitive equal (same length and same characters)
striEqual bbutils Tests if the strings are case-insensitive equal (same length and same characters)
striIndexOf bbutils Searchs searched in str case-insensitive (Attention: opposite parameter to pos)
striIndexOf bbutils_template Searchs searched in str case-insensitive (Attention: opposite parameter to pos)
striIndexOf bbutils_template Searchs searched in str case-insensitive (Attention: opposite parameter to pos)
striIndexOf bbutils Searchs searched in str case-insensitive (Attention: opposite parameter to pos)
strIndexOf bbutils_template Searchs searched in str case-sensitive (Attention: opposite parameter to pos)
strIndexOf bbutils_template Searchs searched in str case-sensitive (Attention: opposite parameter to pos)
strIndexOf bbutils Searchs searched in str case-sensitive (Attention: opposite parameter to pos)
strIndexOf bbutils Searchs searched in str case-sensitive (Attention: opposite parameter to pos)
strJoin bbutils_template Joins all string list items to a single string separated by sep.
If limit is set, the string is limited to abs(limit) items. if limit is positive, limitStr is appended; if limitStr is negative, limitStr is inserted in the middle
strJoin bbutils Joins all string list items to a single string separated by sep.
If limit is set, the string is limited to abs(limit) items. if limit is positive, limitStr is appended; if limitStr is negative, limitStr is inserted in the middle
strJoin bbutils_template Joins all string list items to a single string separated by sep.
If limit is set, the string is limited to abs(limit) items. if limit is positive, limitStr is appended; if limitStr is negative, limitStr is inserted in the middle
strJoin bbutils Joins all string list items to a single string separated by sep.
If limit is set, the string is limited to abs(limit) items. if limit is positive, limitStr is appended; if limitStr is negative, limitStr is inserted in the middle
strlBeginsWith bbutils Test if p begins with expectedStart (__STRICT_HELP__, case-sensitive)
strlBeginsWith bbutils_template Test if p begins with expectedStart (__STRICT_HELP__, case-sensitive)
strlCount bbutils Counts all occurrences of search in searchIn (case sensitive, stops at #0)
strlCount bbutils_template Counts all occurrences of search in searchIn (case sensitive, stops at #0)
strLengthUtf8 bbutils length of an utf8 string
A similar function exists in lclproc, but this unit should be independent of the lcl to make it easier to compile with fpc on the command line
Currently this function also calculates the length of invalid utf8-sequences, in violation of rfc3629
strLengthUtf8 bbutils_template length of an utf8 string
A similar function exists in lclproc, but this unit should be independent of the lcl to make it easier to compile with fpc on the command line
Currently this function also calculates the length of invalid utf8-sequences, in violation of rfc3629
strlEqual bbutils_template Tests if the strings are case-sensitive equal (same length and same characters) (null-terminated, stops comparison when meeting #0 )
strlEqual bbutils Tests if the strings are case-sensitive equal (same length and same characters) (null-terminated, stops comparison when meeting #0 )
strlEqual bbutils Tests if the strings are case-sensitive equal (same length and same characters)
strlEqual bbutils_template Tests if the strings are case-sensitive equal (same length and same characters)
strliBeginsWith bbutils_template Test if p begins with expectedStart (__STRICT_HELP__, case-insensitive)
strliBeginsWith bbutils Test if p begins with expectedStart (__STRICT_HELP__, case-insensitive)
strliEqual bbutils Tests if the strings are case-insensitive equal (same length and same characters)
strliEqual bbutils_template Tests if the strings are case-insensitive equal (same length and same characters) (null-terminated, stops comparison when meeting #0 )
strliEqual bbutils_template Tests if the strings are case-insensitive equal (same length and same characters)
strliEqual bbutils Tests if the strings are case-insensitive equal (same length and same characters) (null-terminated, stops comparison when meeting #0 )
strlmove bbutils Copies min(sourceLen, destLen) characters from source to dest and returns dest
strlmove bbutils_template Copies min(sourceLen, destLen) characters from source to dest and returns dest
strLoadFromFile bbutils loads a file as string. The filename is directly passed to the fpc rtl and uses the system encoding
strLoadFromFile bbutils_template loads a file as string. The filename is directly passed to the fpc rtl and uses the system encoding
strLoadFromFileUTF8 bbutils_template loads a file as string. The filename should be encoded in utf-8
strLoadFromFileUTF8 bbutils loads a file as string. The filename should be encoded in utf-8
strlsEqual bbutils_template Tests if the strings are case-sensitive equal (same length and same characters) (strict-length, can continue comparison after #0)
strlsEqual bbutils Tests if the strings are case-sensitive equal (same length and same characters) (strict-length, can continue comparison after #0)
strlsiEqual bbutils Tests if the strings are case-insensitive equal (same length and same characters) (strict-length, can continue comparison after #0)
strlsiEqual bbutils_template Tests if the strings are case-insensitive equal (same length and same characters) (strict-length, can continue comparison after #0)
strlsiIndexOf bbutils_template Searchs searched in str case-insensitive (Attention: opposite parameter to pos) (strict length, this function can find #0-bytes)
strlsiIndexOf bbutils Searchs searched in str case-insensitive (Attention: opposite parameter to pos) (strict length, this function can find #0-bytes)
strlsIndexOf bbutils Searchs searched in str case-sensitive (Attention: opposite parameter to pos) (strict length, this function can find #0-bytes)
strlsIndexOf bbutils_template Searchs searched in str case-sensitive (Attention: opposite parameter to pos) (strict length, this function can find #0-bytes)
strlTrim bbutils_template Removes all occurrences of trimCharacter from the left/right side of the string
It will move the pointer and change length, not modifying the memory pointed to
strlTrim bbutils Removes all occurrences of trimCharacter from the left/right side of the string
It will move the pointer and change length, not modifying the memory pointed to
strlTrimLeft bbutils Removes all occurrences of trimCharacter from the left/right side of the string
It will move the pointer and change length, not modifying the memory pointed to
strlTrimLeft bbutils_template Removes all occurrences of trimCharacter from the left/right side of the string
It will move the pointer and change length, not modifying the memory pointed to
strlTrimRight bbutils_template Removes all occurrences of trimCharacter from the left/right side of the string
It will move the pointer and change length, not modifying the memory pointed to
strlTrimRight bbutils Removes all occurrences of trimCharacter from the left/right side of the string
It will move the pointer and change length, not modifying the memory pointed to
strRpos bbutils Searchs the last index of c in s
strRpos bbutils_template Searchs the last index of c in s
strSaveToFile bbutils saves a string as file. The filename is directly passed to the fpc rtl and uses the system encoding
strSaveToFile bbutils_template saves a string as file. The filename is directly passed to the fpc rtl and uses the system encoding
strSaveToFileUTF8 bbutils_template saves a string as file. The filename should be encoded in utf-8
strSaveToFileUTF8 bbutils saves a string as file. The filename should be encoded in utf-8
strSlice bbutils Returns a string with all characters between first and last (including first, last)
strSlice bbutils Returns a string with all characters between start and last (including start, last)
strSlice bbutils_template Returns a string with all characters between start and last (including start, last)
strSlice bbutils_template Returns a string with all characters between first and last (including first, last)
strSplit bbutils Splits the string remainingPart into two parts at the first position of separator, the first is assign to firstPart, the second one is again assign to remainingPart
strSplit bbutils_template Splits the string s into the array splitted at every occurrence of sep
strSplit bbutils Splits the string s into the array splitted at every occurrence of sep
strSplit bbutils Splits the string s into the array splitted at every occurrence of sep
strSplit bbutils_template Splits the string remainingPart into two parts at the first position of separator, the first is assign to firstPart, the second one is again assign to remainingPart
strSplit bbutils_template Splits the string s into the array splitted at every occurrence of sep
strSplitGet bbutils_template Splits the string remainingPart into two parts at the first position of separator, the first part is returned as function result, the second one is again assign to remainingPart (If remainingPart does not contain separator, it returns remainingPart and sets remainingPart := '')
strSplitGet bbutils Splits the string remainingPart into two parts at the first position of separator, the first part is returned as function result, the second one is again assign to remainingPart (If remainingPart does not contain separator, it returns remainingPart and sets remainingPart := '')
strSplitGetBetweenBrackets bbutils_template  
strSplitGetBetweenBrackets bbutils  
strSplitGetUntilBracketClosing bbutils_template  
strSplitGetUntilBracketClosing bbutils  
StrToBoolDef bbutils Converts a str to a bool (for fpc versions previous 2.2)
StrToBoolDef bbutils_template Converts a str to a bool (for fpc versions previous 2.2)
strTrim bbutils  
strTrim bbutils_template  
strTrimAndNormalize bbutils_template  
strTrimAndNormalize bbutils  
strTrimLeft bbutils_template Removes all occurrences of trimCharacter from the left/right side of the string
strTrimLeft bbutils Removes all occurrences of trimCharacter from the left/right side of the string
strTrimRight bbutils_template  
strTrimRight bbutils  
strWrap bbutils  
strWrap bbutils_template  
strWrapSplit bbutils_template  
strWrapSplit bbutils  
threadedCall bbutils Calls proc in an new thread
threadedCall bbutils Calls proc in an new thread
threadedCall bbutils_template Calls proc in an new thread
threadedCall bbutils_template Calls proc in an new thread
threadedCall bbutils_template Calls proc in an new thread
threadedCall bbutils Calls proc in an new thread
timeFormat bbutils_template Converts a dateTime to a string corresponding to the given mask (same mask as dateTimeParsePartsTry)
timeFormat bbutils Converts a dateTime to a string corresponding to the given mask (same mask as dateTimeParsePartsTry)
timeParse bbutils_template Reads a time string given a certain mask (@see dateTimeParsePartsTry).
This function checks, if the time is valid.
timeParse bbutils Reads a time string given a certain mask (@see dateTimeParsePartsTry).
This function checks, if the time is valid.
timeParseParts bbutils_template Reads a time string given a certain mask (@see dateTimeParsePartsTry)
timeParseParts bbutils Reads a time string given a certain mask (@see dateTimeParsePartsTry)
unequal bbutils Checks if all elements are pairwise unequal
unequal bbutils Checks if all elements are pairwise unequal
unequal bbutils Checks if all elements are pairwise unequal
unequal bbutils_template Checks if all elements are pairwise unequal
unequal bbutils_template Checks if all elements are pairwise unequal
unequal bbutils_template Checks if all elements are pairwise unequal
unequal bbutils Checks if all elements are pairwise unequal
unequal bbutils Checks if all elements are pairwise unequal
unequal bbutils Checks if all elements are pairwise unequal
unequal bbutils Checks if all elements are pairwise unequal
unequal bbutils Checks if all elements are pairwise unequal
unequal bbutils Checks if all elements are pairwise unequal
unequal bbutils Checks if all elements are pairwise unequal
unequal bbutils Checks if all elements are pairwise unequal
unequal bbutils Checks if all elements are pairwise unequal
widestrlmove bbutils_template Copies min(sourceLen, destLen) characters from source to dest and returns dest
widestrlmove bbutils Copies min(sourceLen, destLen) characters from source to dest and returns dest

Generated by PasDoc 0.11.0 on 2012-05-03 23:42:58