Re: strstr for g_strrstr?



Juan Pablo wrote:
should i use g_strrstr to do strstr search?

definitely not, g_strrstr will find the laste occurence,
strstr will find the first !

should i take into account something about the utf8 stuff??

Well that depends; are you displaying the charachters in this
string ? are they translated strings ?

Chances are; your string is already utf8 encoded and you dont
even know it ;-)

Cheers,
                                 -Tristan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]