Switch to full style
For C/C++ coders discussions and solutions
Post a reply

replacing each tab by the string “Tab”,

Wed Jan 25, 2012 3:57 pm

Write a program to copy its input to its output replacing each tab by the string “Tab”, white space by “Blank” and backslash by “BackSlash”. In case of successive tabs or blanks or backslashes, the output should be appropriately designed. For example, occurrence \\\ should be replaced by “3 blackslashes”.



Re: replacing each tab by the string “Tab”,

Thu Jan 26, 2012 1:27 am

please start in coding and we will help u .

Post a reply
  Related Posts  to : replacing each tab by the string “Tab”,
 Replacing a Pattern with a Found String     -  
 recursive string reversal- reverse string     -  
 check if string ends with specific sub-string in php     -  
 Splitting a String Based on a Found String     -  
 check if string start with a specific sub-string in PHP     -  
 String token for string split     -  
 Pad a string to a certain length with another string     -  
 get string length in asp     -  
 Echoing a String     -  
 get string size in c++     -