Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
strings.to_lower
strings.to_lower(stringText)
Deskripsi
Fungsi ini mengambil string input dan menampilkan string setelah mengubah semua karakter menjadi huruf kecil
Jenis data parameter
STRING
Jenis hasil yang ditampilkan
STRING
Contoh kode
Contoh 1
Contoh berikut menampilkan true
.
"test@google.com" = strings.to_lower($e.network.email.to)
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-29 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)"]]