Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
strings.to_lower
strings.to_lower(stringText)
Description
Cette fonction prend une chaîne d'entrée et renvoie une chaîne après avoir converti tous les caractères en minuscules.
Types de données des paramètres
STRING
Type renvoyé
STRING
Exemples de code
Exemple 1
L'exemple suivant renvoie true
.
"test@google.com" = strings.to_lower($e.network.email.to)
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/29 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/29 (UTC)."],[[["\u003cp\u003eThe \u003ccode\u003estrings.to_lower\u003c/code\u003e function converts all characters in an input string to lowercase.\u003c/p\u003e\n"],["\u003cp\u003eThis function is supported in Rules and Search within Chronicle.\u003c/p\u003e\n"],["\u003cp\u003eThe function accepts a \u003ccode\u003eSTRING\u003c/code\u003e as input and returns a \u003ccode\u003eSTRING\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAn example demonstrates its use in comparing a lowercase string to an email address.\u003c/p\u003e\n"]]],[],null,["### strings.to_lower\n\nSupported in: \n[Rules](/chronicle/docs/detection/default-rules) [Search](/chronicle/docs/investigation/udm-search) \n\n strings.to_lower(stringText)\n\n#### Description\n\nThis function takes an input string and returns a string after changing all\ncharacters to lowercase\n\n#### Param data types\n\n`STRING`\n\n#### Return type\n\n`STRING`\n\n#### Code samples\n\n##### Example 1\n\nThe following example returns `true`. \n\n \"test@google.com\" = strings.to_lower($e.network.email.to)"]]