Re: [Vala] strings find



Luca Bruno wrote:
.str() (strstr in C) method returns a pointer to the position or null
(s.str("something")-s gives you the integer position). …

Thanks for the help and clarification Luca (and others).

Just to add on top of the responses given I've discovered something else that should work. The Gtk.TextIter.forward_search method seems to provide a way, using TextIters:
http://www.valadoc.org/gtk+-2.0/Gtk.TextIter.forward_search.html



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