Jump to content

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

m
added my 2-bits on ASCII & EBCDIC. -- ~~~~
m (added my 2-bits on ASCII & EBCDIC. -- ~~~~)
Line 6:
 
:: No point. Anyone wanting stripping of non-ASCII won't want it done just at the front and back of the string. –[[User:Dkf|Donal Fellows]] 14:03, 9 June 2011 (UTC)
 
::: (To me, non-ASCII means EBCDIC.) I assume your "non-ASCII" meant "ASCII control-codes". -- [[User:Gerard Schildberger|Gerard Schildberger]] 21:26, 1 April 2012 (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)
 
:: No need for a table lookup for ASCII or EBCDIC. Essentially, anything below a "blank" is a control character, with the addition of '7f'x for ASCII. -- [[User:Gerard Schildberger|Gerard Schildberger]] 21:26, 1 April 2012 (UTC)
 
:The general task could be about stripping a set of chars from a string. For display purposes it would be easier to use something other than control codes as the example. Showing special facilities that a language has for stripping control codes and extended characters could be an optional requirement.--[[User:Tikkanz|Tikkanz]] 12:09, 5 June 2011 (UTC)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.