7b82d95 string-util: add new helper for finding line starting with specific string in a text buffer

Authored and Committed by Lennart Poettering a year ago
    string-util: add new helper for finding line starting with specific string in a text buffer
    
    We have implemented this manually a couple of times, and always wrong.
    Hence let's implement this correctly for once and use everywhere.
    
        
file modified
+23 -0
file modified
+2 -0
file modified
+29 -0