IniLikeGroup.opIndexAssign

Insert new value or replaces the old one if value associated with key already exists. Note: The value is not escaped automatically upon writing. It's your responsibility to escape it.

  1. string opIndexAssign(string value, string key)
    class IniLikeGroup
    @safe final
    string
    opIndexAssign
    (
    string value
    ,
    string key
    )
  2. string opIndexAssign(string value, string key, string locale)

Return Value

Type: string

Inserted/updated value or null string if key was not added.

Throws

IniLikeEntryException if key or value is not valid or value needs to be escaped.

See Also

Meta