I'm confusing with use of gerund or infinitive, I don't know which one of them I should use, for example ;
I'm looking for a function to reverse a string
I'm looking for a function for reversing a string
can someone tell me which one is correct and why ?
Thanks.