$containsDirtyWord

Examines if the given character sequence contains an entry of the 'DirtyWords' table of this accounts database.
Syntax$containsDirtyWord{string}{sensitivity_level}
DocumentationExamines if the given character sequence contains an entry of the 'DirtyWords' table of this accounts database: $containsDirtyWord{string}{sensitivity_level} Parameters: string, the string whos content is to be examined. sensitivity_level, an optional parameter to indicate that the contents of the given string are to be compared only with those entries of the 'DirtyWords' table to witch the given sensitivity_level value is assigned. The sensitivity level can be a value of the column labeled 'LEVEL' of the 'DirtyWords' table. Since this values are costumized the programmer needs to be familiar with the values and their meaning. Returns: 1 if and only if the given string contains at least one entry of the 'DirtyWords' table; 0 otherwise. Note: before using $containsDirtyWord the function $dirtyWordsUpdated has to be called.
Examples
Examine if the string 'some_string' contains any entries of the 'DirtyWords' table: $set{some_string}{some character sequence} $dirtyWordsUpdated{} $containsDirtyWord{string}{sensitivity_level}
GroupString
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 3