Str.strdelimit

Converts any delimiter characters in string to new_delimiter. Any characters in string which are found in delimiters are changed to the new_delimiter character. Modifies string in place, and returns string itself, not a copy. The return value is to allow nesting such as

class Str
static
string
strdelimit
(
string string
,
string delimiters
,)

Parameters

string string

the string to convert

delimiters string

a string containing the current delimiters, or NULL to use the standard delimiters defined in G_STR_DELIMITERS. [allow-none]

newDelimiter char

the new delimiter character

Return Value

Type: string

string

Meta