# string.Split

- **Ortam:** İstemci, Sunucu, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/string.Split
- **Çeviri tarihi:** 2026-08-05

```lua
table string.Split( string input, string separator )
```

## Açıklama

Diziyi ikinci argümanla ayrılmış bir dize tablosuna ayırır.

Bu bir takma isim. [string. Explode](https://gmod.tr/wiki/string.Explode), ama ters bir argümanla.

## Argümanlar

1.. [dizgin](https://gmod.tr/wiki/string) **Giriş**: Bölmek için dize
2.. [dizgin](https://gmod.tr/wiki/string) **Ayırıcı**: Character( s) ile paylaşmak için.

## Geri dönüşler

1.. sıralı [Tablo](https://gmod.tr/wiki/table)[dizgin](https://gmod.tr/wiki/string)>: Bölünmüş masa

### Örnek

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

```lua
local mystring = "This is some text"
PrintTable( string.Split( mystring, " " ) )
```

**Çıkış:**

```lua
1 = This
2 = is
3 = some
4 = text
```

- [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/string.Split
