lkml.org 
[lkml]   [2015]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC/PATCH 1/8] lib: string: Introduce strreplace
On Thu, Jun 04, 2015 at 03:56:07AM -0700, Joe Perches wrote:
> Seems sensible, but the name maybe could be be more
> explicit as strreplace seems like it should more like
> a string substitution rather than a char substitution.
>
> Maybe strsubstchr or something like it (strtranschr?)

Why not go the full monty and call it strtrtsstrrrtst(), with
strtrtssstrrtst() doing almost, but not quite the same thing?


\
 
 \ /
  Last update: 2015-06-05 01:01    [W:0.042 / U:1.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site