Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.37 KB | None | 0 0
  1.  
  2.         static string InsertSpaces(string text)
  3.         {
  4.             string pustka = "";
  5.             pustka += (text[0]);
  6.             for (int i = 1; i < text.Length; i++)
  7.                 if ((text[i]) < 97)
  8.                     pustka += ' ' + Convert.ToString(text[i]);
  9.                 else
  10.                     pustka += (text[i]);
  11.             return pustka;
  12.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement