From 231849ace46ef35bbed3be162f8acc9fd9efd781 Mon Sep 17 00:00:00 2001 From: Rich Date: Thu, 19 Jan 2017 21:55:33 +0000 Subject: [PATCH] B2017-012 - RO XYPlots had been impacted by logic which was turning spaces into hard spaces. This, in turn, stopped the XY Plot logic from working. --- PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs index 26780259..c9642537 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs @@ -960,14 +960,17 @@ namespace VEPROMS.CSLA.Library if( str == null || str == "" ) return str; string rtnstr = str; int indx = -1; - while ((indx = rtnstr.ToUpper().IndexOf("@HSP("))>-1) + while ((indx = rtnstr.ToUpper().IndexOf("@HSP(")) > -1) { - string resstr = rtnstr.Substring(0,indx); - int endHsp = rtnstr.IndexOf(")",indx); - string tmpstr = rtnstr.Substring(indx+5,endHsp-indx-5); - tmpstr = tmpstr.Replace(" ", @"\u160?"); + string resstr = rtnstr.Substring(0, indx); + int endHsp = rtnstr.IndexOf(")", indx); + string tmpstr = rtnstr.Substring(indx + 5, endHsp - indx - 5); + if (!tmpstr.Contains("<