Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ee.List.getString
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menampilkan string pada posisi yang ditentukan dalam daftar. Indeks negatif dihitung mundur dari akhir daftar. Jika nilai bukan berupa string, akan terjadi error.
Penggunaan | Hasil |
---|
List.getString(index) | String |
Argumen | Jenis | Detail |
---|
ini: list | Daftar | |
index | Bilangan Bulat | |
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-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-26 UTC."],[[["\u003cp\u003eThis function retrieves a string from a given position within a list.\u003c/p\u003e\n"],["\u003cp\u003eNegative index values can be used to access elements starting from the end of the list.\u003c/p\u003e\n"],["\u003cp\u003eAn error will be triggered if the element at the specified index is not a string.\u003c/p\u003e\n"]]],[],null,["# ee.List.getString\n\nReturns the string at the specified position in list. A negative index counts backwards from the end of the list. If the value is not a string, an error will occur.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------|---------|\n| List.getString`(index)` | String |\n\n| Argument | Type | Details |\n|--------------|---------|---------|\n| this: `list` | List | |\n| `index` | Integer | |"]]