Click here to Skip to main content
15,888,521 members
Home / Discussions / C#
   

C#

 
AnswerRe: Shorter form of a String Pin
Xmen Real 4-Mar-09 4:15
professional Xmen Real 4-Mar-09 4:15 
GeneralRe: Shorter form of a String Pin
Guffa4-Mar-09 16:59
Guffa4-Mar-09 16:59 
GeneralRe: Shorter form of a String Pin
Xmen Real 4-Mar-09 17:04
professional Xmen Real 4-Mar-09 17:04 
GeneralRe: Shorter form of a String Pin
Guffa4-Mar-09 17:22
Guffa4-Mar-09 17:22 
GeneralRe: Shorter form of a String Pin
Xmen Real 4-Mar-09 17:29
professional Xmen Real 4-Mar-09 17:29 
GeneralRe: Shorter form of a String Pin
Guffa6-Mar-09 1:12
Guffa6-Mar-09 1:12 
GeneralRe: Shorter form of a String Pin
Xmen Real 6-Mar-09 3:27
professional Xmen Real 6-Mar-09 3:27 
AnswerRe: Shorter form of a String Pin
dan!sh 4-Mar-09 5:33
professional dan!sh 4-Mar-09 5:33 
If you need first three characters of each word, then you use Split and Substring.

In the example you gave, you have taken "Desk" from desktop ie 4 characters and 3 characters from others. The number of characters to be taken from a word is not fixed. It depends on the word. Now if the string changes to say "Development Web Development Multimedia Development". How do you want this to be divided?

Time is the best teacher; unfortunately it kills all of its students.

जय हिंद

QuestionHow can I push a button virtual? Pin
Member 44178924-Mar-09 3:47
Member 44178924-Mar-09 3:47 
AnswerRe: How can I push a button virtual? Pin
Alan N4-Mar-09 4:00
Alan N4-Mar-09 4:00 
GeneralRe: How can I push a button virtual? Pin
Member 44178924-Mar-09 4:16
Member 44178924-Mar-09 4:16 
GeneralRe: How can I push a button virtual? Pin
Member 44178924-Mar-09 5:12
Member 44178924-Mar-09 5:12 
AnswerRe: How can I push a button virtual? Pin
Dave Kreskowiak4-Mar-09 4:24
mveDave Kreskowiak4-Mar-09 4:24 
AnswerRe: How can I push a button virtual? Pin
DaveyM694-Mar-09 5:43
professionalDaveyM694-Mar-09 5:43 
GeneralRe: How can I push a button virtual? Pin
Member 44178925-Mar-09 2:03
Member 44178925-Mar-09 2:03 
AnswerRe: How can I push a button virtual? Pin
Member 44178925-Mar-09 5:30
Member 44178925-Mar-09 5:30 
QuestionC# xsd Pin
babongita4-Mar-09 3:17
babongita4-Mar-09 3:17 
AnswerRe: C# xsd Pin
Pete O'Hanlon4-Mar-09 4:52
mvePete O'Hanlon4-Mar-09 4:52 
QuestionReflection - Sample? Pin
softwarejaeger4-Mar-09 3:15
softwarejaeger4-Mar-09 3:15 
AnswerRe: Reflection - Sample? Pin
Pete O'Hanlon4-Mar-09 5:58
mvePete O'Hanlon4-Mar-09 5:58 
QuestionServer Pin
mrithula84-Mar-09 2:53
mrithula84-Mar-09 2:53 
AnswerRe: Server Pin
Jimmanuel4-Mar-09 3:28
Jimmanuel4-Mar-09 3:28 
QuestionBHO and ActiveX communication Pin
gusc4-Mar-09 2:51
gusc4-Mar-09 2:51 
QuestionDispose an instance Pin
yesu prakash4-Mar-09 2:11
yesu prakash4-Mar-09 2:11 
AnswerRe: Dispose an instance Pin
DaveyM694-Mar-09 2:14
professionalDaveyM694-Mar-09 2:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.