or as a macro, i.e., in-line as opposed to calling a function:
#define strReplace(a, b, c, d) {char **strs = g_strsplit(a, c, -1); b =
g_strjoinv(d, strs); g_strfreev(strs);}
where
a = input string
b = output string, def'ed as (char *)
c = string to be replaced
d = string to replace with
r-
On Fri, Feb 3, 2012 at 4:30 PM, Manuel Ferrero <[email protected]> wrote:
> Kevin Anthony ha scritto:
>
>
> here's how i do it:
>>
>
> Thanks a lot.
>
>
> Reer SpA
> Tel. +39 011 2482215
> Fax. +39 011 859867
>
> L'utilizzo non autorizzato del presente messaggio e' vietato e potrebbe
> costituire reato.
> Se il presente messaggio non e' a Lei indirizzato, il suo contenuto non
> deve essere considerato
> come trasmesso o autorizzato dalla Reer SpA; in tale caso Le saremmo grati
> se, via e-mail,
> ce ne comunicasse l'errata ricezione.
>
> The unauthorized use of this e-mail is prohibited and could constitute an
> offence.
> If you are not the intended recipient of this message its contents shall
> be understood as neither
> given nor endorsed by Reer SpA. Please notify Reer SpA by e-mail
> immediately in that case.
>
> ______________________________**_________________
> gtk-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/**listinfo/gtk-list<http://mail.gnome.org/mailman/listinfo/gtk-list>
>
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list