Jump to content

Strip block comments: Difference between revisions

m
added whitespace, added a Category:Strings.
(Added 11l)
m (added whitespace, added a Category:Strings.)
Line 1:
{{task|Text processing}}
[[Category:String manipulation]]
[[Category:Strings]]
 
A block comment begins with a   ''beginning delimiter''   and ends with a   ''ending delimiter'',   including the delimiters.   These delimiters are often multi-character sequences.
Line 37 ⟶ 38:
;Extra credit:
Ensure that the stripping code is not hard-coded to the particular delimiters described above, but instead allows the caller to specify them.   (If your language supports them,   [[Optional parameters|optional parameters]]   may be useful for this.)
 
 
{{Template:Strings}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.