_StringInCharacters

Tests if any given characters is in string

#include "String and File String.au3"
_StringInCharacters( $sString, $sCharacters [, $bCaseSensitive = False] )

parameters

$sString String with characters to test
$sCharacters String with characters to use for testing
$bCaseSensitive False = Case insensitive, True = Case sensitive

return value

boolean value True = one or more characters are in string, False = Not

related

_StringStripCharacters

example

_StringInCharacters( "this is a string", "ts" ) ; True