Wiki - SwyxPEDIA

 

PBXScript.CompareNumbers

This function returns either True or False if a certain number is completely or partly given in another number respective list of numbers.

Dim sNumberList
sNumberList = "49231477733*;34*"
If PBXScript.CompareNumbers (sNumberList, "333") Then
  ...
End If

This function returns a boolean value.

It is possible to use the wildcard * (asterisk) as placeholder for any following digit respective number of digits.

A ; (semicolon) in the number list separates different numbers.

The above example shows the CompareNumbers function returning True as "333" is in fact part of the number list, "49231477733*".

 

 

Server Script API




 |   | View Topic History  |
Wiki Help
Sponsors
bluvo AG
logic-base GmbH
Swyx Solutions AG, Germany

 

Charity

German Aid for Afghan Children

Swyx Forum supports the German Aid for Afghan Children (Kinderhilfe Afghanistan)