Click here to Skip to main content
15,886,795 members

Comments by FoxRoot (Top 200 by date)

FoxRoot 3-Dec-17 9:17am View    
Thank you Life Saver! :)
FoxRoot 3-Dec-17 9:04am View    
Couldn' t handle. Is there any way split with spacess, so I can check the number of whitespacess
FoxRoot 3-Dec-17 8:48am View    
Sorry. Codeproject editor removed my extra spaces :)
public int[] countSpaces(string input)
{

// Do some stuff.
}

The method body is here. I will send a sentence which has 1 or more spacess after each word. Than the method returns an int array that contains how many spaces are there after each word.

Thanks!
FoxRoot 8-Feb-17 4:53am View    
Thank you. I am going to read after some sleep :)
FoxRoot 8-Feb-17 4:53am View    
Thanks for your interest. I am using Razor.