# table.concat

- **Ortam:** İstemci, Sunucu, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/table.concat
- **Çeviri tarihi:** 2025-09-08

```lua
string table.concat( table tbl, string concatenator = "", number startPos = 1, number endPos = #tbl )
```

## Açıklama

Bir tablonun içeriğini bir metin (string) olarak birleştirir.

## Argümanlar

1. [table](https://gmod.tr/wiki/table) **tbl**: Birleştirilecek tablo.
2. [string](https://gmod.tr/wiki/string) **concatenator** = "\": Metinlerin arasına eklenecek bir ayırıcı
3. [number](https://gmod.tr/wiki/number) **startPos** = 1: Başlanacak anahtar
4. [number](https://gmod.tr/wiki/number) **endPos** = #tbl: Bitirilecek anahtar

## Döndürülen Değerler

1. [string](https://gmod.tr/wiki/string): Birleştirilmiş değerler

### Örnek

Bu fonksiyonun kullanımını gösterir.

```lua
local Table = { "A", "simple", "table.concat", "test" }
print( table.concat( Table ) )
print( table.concat( Table, " " ) )
print( table.concat( Table, " ", 3, 4 ) )
```

**Çıktı:**

```lua
Asimpletable.concattest
A simple table.concat test
table.concat test
```

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/table.concat
