Click here to Skip to main content
14,367,789 members
   

C#

 
QuestionRead Portion of text from Text File Pin
Member 1398003226-Aug-19 20:39
memberMember 1398003226-Aug-19 20:39 
AnswerRe: Read Portion of text from Text File Pin
OriginalGriff26-Aug-19 21:27
protectorOriginalGriff26-Aug-19 21:27 
GeneralRe: Read Portion of text from Text File Pin
Member 1398003226-Aug-19 21:41
memberMember 1398003226-Aug-19 21:41 
GeneralRe: Read Portion of text from Text File Pin
phil.o26-Aug-19 22:07
mvephil.o26-Aug-19 22:07 
GeneralRe: Read Portion of text from Text File Pin
Member 1398003226-Aug-19 22:31
memberMember 1398003226-Aug-19 22:31 
GeneralRe: Read Portion of text from Text File Pin
phil.o26-Aug-19 22:39
mvephil.o26-Aug-19 22:39 
GeneralRe: Read Portion of text from Text File Pin
Member 1398003226-Aug-19 22:41
memberMember 1398003226-Aug-19 22:41 
GeneralRe: Read Portion of text from Text File Pin
OriginalGriff26-Aug-19 22:21
protectorOriginalGriff26-Aug-19 22:21 
phil.o has given you the documentation, but if you look at your line text, the section you want starts at index 25 (starting form zero, remember) and is 9 characters long. So those are the numbers you feed into substring to specific exactly which chunk of text you want to extract.
A Regex will do fine, but they can be complicated and difficult to understand (and worse to modify), so it you can use a "fixed position" extraction for now, that's the best place to start.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Read Portion of text from Text File Pin
Member 1398003226-Aug-19 22:37
memberMember 1398003226-Aug-19 22:37 
GeneralRe: Read Portion of text from Text File Pin
OriginalGriff26-Aug-19 22:48
protectorOriginalGriff26-Aug-19 22:48 
AnswerRe: Read Portion of text from Text File Pin
Gerry Schmitz27-Aug-19 6:24
mveGerry Schmitz27-Aug-19 6:24 
SuggestionRe: Read Portion of text from Text File Pin
Richard Deeming27-Aug-19 6:42
mveRichard Deeming27-Aug-19 6:42 
QuestionC# WPF Snip code for Login on AD Azure Problem to find the right code Pin
jan Meeling25-Aug-19 22:56
memberjan Meeling25-Aug-19 22:56 
AnswerRe: C# WPF Seeds code for Login on AD Azure Pin
phil.o25-Aug-19 23:12
mvephil.o25-Aug-19 23:12 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
#realJSOP26-Aug-19 1:48
mve#realJSOP26-Aug-19 1:48 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
phil.o26-Aug-19 1:55
mvephil.o26-Aug-19 1:55 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling26-Aug-19 21:47
memberjan Meeling26-Aug-19 21:47 
AnswerRe: C# WPF Seeds code for Login on AD Azure Pin
OriginalGriff25-Aug-19 23:16
protectorOriginalGriff25-Aug-19 23:16 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling26-Aug-19 21:44
memberjan Meeling26-Aug-19 21:44 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
Richard MacCutchan26-Aug-19 21:54
protectorRichard MacCutchan26-Aug-19 21:54 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling26-Aug-19 22:55
memberjan Meeling26-Aug-19 22:55 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
Richard MacCutchan26-Aug-19 23:08
protectorRichard MacCutchan26-Aug-19 23:08 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling27-Aug-19 1:05
memberjan Meeling27-Aug-19 1:05 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
Richard MacCutchan27-Aug-19 2:19
protectorRichard MacCutchan27-Aug-19 2:19 
QuestionIntercepting a Logoff Pin
ormonds23-Aug-19 13:07
memberormonds23-Aug-19 13:07 

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.