SetTrieString Function

Sets a string value in a Map, either inserting a new entry or replacing an old one.

bool SetTrieString(Handle map, const char[] key, const char[] value, bool replace)


Handle map

Map Handle.

const char[] key

Key string.

const char[] value

String to store.

bool replace

If false, operation will fail if the key is already set.

Return Value

True on success, false on failure.


Invalid Handle.