Compare commits

...
3 changed files with 4 additions and 1 deletions
Binary file not shown.
Binary file not shown.
@@ -5553,7 +5553,10 @@ namespace VEPROMS.CSLA.Library
// Before checking for anything, if the DisplayNumber starts with 'ATTACHMENT ', don't use that in the Section
// prefix for the tabstring.
// F2023-112 - added flag to use entire section number in the step tab - Vogtle 3&4 Background format (VEGPBckStp)
string attNum = (ActiveSection.DisplayNumber.ToUpper().StartsWith("ATTACHMENT ") && !FormatStepData.TabData.UseEntireSectionNum) ? ActiveSection.DisplayNumber.Substring(11) : ActiveSection.DisplayNumber;
// F2026-021 - made the parsing of the section number generic instead of only parsing if the section number properties
// value started with the word "Attachment ". We now look for the first space to determine the section number/letter
int numidx = ActiveSection.DisplayNumber.IndexOf(" ");
string attNum = (numidx > -1 && (ActiveSection.DisplayNumber.Length > numidx + 1) && !FormatStepData.TabData.UseEntireSectionNum) ? ActiveSection.DisplayNumber.Substring(numidx + 1) : ActiveSection.DisplayNumber;
Match m = Regex.Match(attNum, @"[a-zA-Z]"); // for alpha, use non-touched displaynumber
int indx = -1;
if (m.Success)