Talk:Strip control codes and extended characters from a string: Difference between revisions

From Rosetta Code
Content added Content deleted
(We could always create an additional task)
(Strip characters not belonging to a set)
Line 4: Line 4:


:We could always create an additional task "Strip control codes and extended characters from a string/Top and tail" with such details. --[[User:Markhobley|Markhobley]] 10:24, 5 June 2011 (UTC)
:We could always create an additional task "Strip control codes and extended characters from a string/Top and tail" with such details. --[[User:Markhobley|Markhobley]] 10:24, 5 June 2011 (UTC)

:The reason I didn't go for "any sets of chars", is that the logic may be different. Control codes and extended characters may be filtered without a table lookup (on an ascii based system). I think it would be a good idea to create an additional task to "Strip characters not belonging to a set" to cover this. --[[User:Markhobley|Markhobley]] 10:40, 5 June 2011 (UTC)

Revision as of 10:40, 5 June 2011

This is very much like other tasks. How about stripping any set of chars from a string, the front, or the back of a string? --Paddy3118 07:03, 5 June 2011 (UTC)

This task is about all occurances. I hadn't planned on breaking it down to front, back and within the middle of the string. --Markhobley 10:20, 5 June 2011 (UTC)
We could always create an additional task "Strip control codes and extended characters from a string/Top and tail" with such details. --Markhobley 10:24, 5 June 2011 (UTC)
The reason I didn't go for "any sets of chars", is that the logic may be different. Control codes and extended characters may be filtered without a table lookup (on an ascii based system). I think it would be a good idea to create an additional task to "Strip characters not belonging to a set" to cover this. --Markhobley 10:40, 5 June 2011 (UTC)