# string.SetChar

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

```lua
string string.SetChar( string InputString, number Index, string ReplacementChar )
```

## Açıklama

Dizinin belirtilen dizinindeki karakteri ayarlar.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **InputString**: Giriş dizesi
2. [number](https://gmod.tr/wiki/number) **Index**: Karakter dizini, 1 soldan ilk karakterdir.
3. [string](https://gmod.tr/wiki/string) **ReplacementChar**: Değiştirilecek dize.

## Döndürdüğü Değerler

1. [string](https://gmod.tr/wiki/string): Değiştirilmiş Dize

### Örnek

SetChar kullanımını gösterir

```lua
local str = "Apples"
MsgN(string.SetChar(str, 3, "g"))
```

**Çıktı:** "Apgles"

- [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.SetChar
