How to get rid of a white space?

I have cfscript codes that look like the following:
<CFSCRIPT>
if (listFind("2,3,4,5,6",getEmp.EMPID))
varPAEN = "";
if (listFind("5,6,7", A_New[13]))
varLangEN = "If you are not a member of this forum, please
register";
if (listFind("2,3,6",getEmp.EMPID))
These online forums are for user-to-user discussions of
Adobe products, and are not an official customer support
#varLangEN#. If you require direct assistance on our
products please call 1-800- etc....
</CFSCRIPT>
The problem I have is when the variable varLangENG is empty,
it creates an extra white space within the sentence. So instead
user seeing :
"These online forums are for user-to-user discussions of
Adobe products, and are not an official customer support .
If you require direct assistance on our products please call
1-800- etc...."
They see and extra white space before the period:
"These online forums are for user-to-user discussions of
Adobe products, and are not an official customer support . <<
If you require direct assistance on our products please call
1-800- etc...."
This is not the only sentence affected. Please help if there
is a solution. Thanks!

Thinking outside of the box, or space as the case may be.
Move the
leading space character into the variable definition. Then if
the
variable is empty there is no space before it.
varLangEN = " If you are not a member of this forum, please
register";
support#varLangEN#.

Similar Messages

  • Get rid of the white space at the top and bottom of the report when Printing as PDF document

    Hello All,
    I have a wider tablix report which is 29 inches wide. I have given the paper size as custom and width as 29 and height as 11 in report properties.I have deployed it and saved it as PDF document. When I print preview the report I am using the paper size as
    tabloid (17 by 11) and selected the orientation as Landscape. I am getting the full report without any stripping but I am getting some extra space at the top and bottom when I print the report. Can anyone help me how to get rid of this space? . I checked the
    margins for the report and it was 0in. Please help.
    Thank You

    Hi There
    In Reporting Services (SSRS 2008), there are white spaces preserved in the report body by default. When the white space extends the body size beyond the width of the report, blank pages will be generated. To avoid the issue, you can set the “ConsumeContainerWhiteSpace”
    property of the report to “True”.
    Please try to adjust your margins (top + side) and hopefully this problem will get resolved
    Body Width <= Page Width - (Left Margin + Right Margin)
    Horizontal usable area:
    X = Page.Width - (Left Margin + Right Margin + Column Spacing)
    Vertical usable area:
    Y = Page.Height - (Top Margin + Bottom Margin + Header Height + Footer Height)
    Body Width <= Page Width - (Left Margin + Right Margin)
    Horizontal usable area:
    X = Page.Width - (Left Margin + Right Margin + Column Spacing)
    Vertical usable area:
    Y = Page.Height - (Top Margin + Bottom Margin + Header Height + Footer Height)
    If you have any questions please ask.
    Many Thanks
    Syed Qazafi Anjum
    Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.

  • How do get rid of the white option ball on home screen?

    how do you get rid of the white option ball on home screen?

    I've never seen a "white option ball" on the home screen.

  • How to get rid of the white screen on ipod touch

    How do I get rid of the white screen on my ipod touch, my power button is stuck.

    Display shows white screen
    Try turning the iPod touch off and then on again.
    If the iPod will not turn off, try to reset it.
    If that doesn't work, try restoring the iPod. See this article for assistance.
    Resetting your iPod
    http://support.apple.com/kb/ht1430
    Restoring your iPod
    http://support.apple.com/kb/HT1414

  • Can anyone tell me how to get rid of the white stripe?

    There is a narrow white stripe just above the container on this site and I can't figure out how to get rid of it. Do you know? http://lowellforte.com/
    It doesn't appear above the right sidebar which is yellow right now. Thank you.

    You could also try positioning the image using a code like this:
    body {
        background-image: url('http://lowellforte.com/images/1264xindex.jpg');
        background-position: 1264px 963px;
    Change the dimensions to suit your style.  963px is chosen here because the stripe is about 5px give or take 1px either side.

  • How to get ride of a black space box on screen

    how to get ride of a black floating text box from the computer.

    Turn off VoiceOver in the Universal Access or Accessibility pane of System Preferences.
    (88073)

  • How do i get rid of this white space on the bottom of my homepage?

    Right above my footer and right below my main content on the page is a large white gap that takes over..how do i get rid of it?

    Your main content bg is white so its hard to tell what space is extra space.
    If you check your site in ie7 it stretches to about 3 times its normal length

  • How do I get rid of the white space between my header and my spry navigation bar?

    I have been grappling with a problem for the past 2 days and cannot seem to work my way around it. I have been working on a page in dreamweaver cs4 that seems to have whitespace between the header and my spry menu bar ONLY in Firefox. Google Chrome and Safari show it correctly. Could you steer me in the right direction for getting rid of that space. Here is the page: http://www.margaritascafe.com/margaritas_layout.html
    Here is my code and thanks in advance for your help:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <link href="margaritastyles.css" rel="stylesheet" type="text/css" />
    <script src="Margaritas_temp_spry/SpryMenuBar.js" type="text/javascript"></script>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <link href="Margaritas_temp_spry/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="wrapper">
      <div id="header">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1000" height="250" id="FlashID" tabindex="10" title="Margarita's Cafe header 2">
          <param name="movie" value="flash_movies/Margaritas Header 3.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="9.0.45.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object type="application/x-shockwave-flash" data="flash_movies/Margaritas Header 3.swf" width="1000" height="250">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="9.0.45.0" />
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
            </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object>
      </div>
      <div id="navigation">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="#">Home</a></li>
          <li><a href="#" class="MenuBarItemSubmenu">Menus</a>
            <ul>
              <li><a href="#">Lunch</a></li>
              <li><a href="#">Dinner</a></li>
              <li><a href="#">Cocktail</a></li>
              <li><a href="#">Take Out</a></li>
            </ul>
          </li>
          <li><a href="#">Photos</a></li>
          <li><a href="#" class="MenuBarItemSubmenu">Catering</a>
            <ul>
              <li><a href="#">Private Parties</a></li>
            </ul>
          </li>
          <li><a href="#">Reservations</a></li>
          <li><a href="#">Contact</a></li>
          <li><a href="#">Reviews</a></li>
          <li><a href="#">Directions</a></li>
        </ul>
      </div>
      <div id="maincontentlayout3">Content for  id "maincontentlayout3" Goes Here</div>
      <div id="specials"><img src="png-gif-jpg/Tuesday Night Banner.jpg" width="200" height="70" alt="Margarita's Tuesday Night Special" /><img src="png-gif-jpg/Wednesday Banner.jpg" width="200" height="70" alt="Wednesday 2 for 1 dinner special at Margarita's" /><img src="png-gif-jpg/Thursday Banner.jpg" width="200" height="70" alt="Ladie's Night Thursdays at Margarita's Cafe" /><img src="png-gif-jpg/Friday Banner.jpg" width="200" height="70" alt="TGIF Happy Hour on Friday's at Margarita's Cafe" /><img src="png-gif-jpg/Sunday Banner.jpg" width="200" height="70" alt="Sunday Kids Eat Free at Margarita's Cafe!" /></div>
      <div id="footer"><img src="png-gif-jpg/Margaritas Facebook logo.png" alt="Facebook" width="40" height="25" align="absmiddle" /> <img src="png-gif-jpg/Margaritas Twitter logo.png" alt="Twitter Logo" width="40" height="25" align="absmiddle" /><img src="png-gif-jpg/merchantcircle_mini.png" alt="Merchant Circle Logo" width="63" height="25" align="absmiddle" /></div>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"Margaritas_temp_spry/SpryMenuBarDownHover.gif", imgRight:"Margaritas_temp_spry/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>

    CSS:
    #navigation {margin-top: -3px;}
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How do I get rid of the white space in the navigation toolbar after installing LastPass?

    I've uninstalled and reinstalled the 64-bit Firefox on my Windows 7 laptop. After installing LastPass I get this white space in the left search. I didn't know if anybody has had a similar issue. Thanks for your time guys.
    Here's a link to what it looks like on my page. http://i.imgur.com/kpRh0tv.png

    This issue has been solved.<br>
    Please view the support ticket for more details.
    [https://lastpass.com/my.php?token=TRHJ2AUK8VSV LastPass Support Ticket]

  • Getting rid of extra white space/margins on the left & right

    Hi. I have two problems.
    1.) When I create a Muse template at 1024 px wide, the document creates extra margins of about 150-200 pixels on the left and right. No matter what I do, I cannot get rid of this. I have set margins to "0" as well. I need the website I created to be at 100% width, no white space around.
    2.) My images are not importing correctly. When I place an image, for example, my home page background image, which is sized at 1024 px wide - the same as the document width, it does not import at that size. Images are coming in about half the size, even though I'm positive the images are sized correctly, as I designed it in photoshop to the exact dimensions that I wanted.
    Any help would be greatly appreciated!

    1.) Muse does not generate responsive layout, so when you create a Muse template at 1024 px wide (assuming center aligned in browser), you end up with page 1024px wide and showing some space on either side to show you how the browser screen beyond 1024px would look like (in case the browser screen is wider than 1024px. That is not part of the actual page width. You can customize that using the Browser Fill option in the Control Strip.
    2.) It appears that you have Resolution set to HiDPI (2x) in File > Site Properties > Content tab. This would actually use the original size of the images on Retina displays and half the size in both dimensions on normal displays.
    Hope that helps.
    Cheers,
    Vikas

  • How to get rid of blank white page next to cover page when converting an indesign file into a pdf flip book

    Hey Everyone,
    I created an catalog using indesign and now I want to convert that into a pdf flip book. I have exported it as a SWF then changing the SWF back into a pdf. It works great however, I keep getting a blank white page next too my cover page, and I really don't want this. I find it very distracting and visually unappealing. Is there any way to get rid of this blank white page? Or any other suggestions on how to create a flip book out of an indesign file.

    It sounds as if you're not checking the pagination properties of the chapter after the problem within the book file.
    The book file settings always trump the component file's settings.
    So this would mean that, if Chapter 3 is set in the book file to start on a Right page, the book enforces this by adding a blank page to Chapter 2.
    You should be able to fix this by selecting all the component chapters in the book, right-clicking and setting all the pagination properties to start on Next Available page, but I don't have 7 on this system so I can't give you the exact key strokes.
    Art

  • How to get rid of the other space

    I have 2.7 GB of space in "other" which puts me over my limit for storage. I have done a restore with no luck. I have nothing to be synced with my phone. I have tried unchecking "open ituens when this iphone is connected" and checking it again but that didnt work either. I didnt have this much "other" until yesterday when i got errors about backups being corrupted. I thought the restore would fix that.

    So i pretty much have to lose everything on my phone to get rid of it? i backed up onto another iphone and it was fine so i restored then restored from backup with a new backup. it worked but kept all the other space. 

  • How to get rid of the white lines on playback screen?

    What are those two square lines on the playback screen? How do I get rid of them?

    You will have to click on the top menu and choose options see below
    when you do this window will pop up and you scroll down until you get to the front panel options. See below
    Tim
    Johnson Controls
    Holland Michigan

  • Can't get rid of unwanted white space

    I'm trying to delete what looks like four lines of extra space within a paragraph. I've tried the GREP for multiple returns, trailing white space, leading white space, and nothing seems to work. I've attached a screenshot. Can someone tell me what is going on??

    Show us the whole page, with non-printing characters showing, and the text frame options dialog open.

  • How to get rid of the white screen

    is there anyone who can help me?
    problem is the white screen at the startup and i have no cd or dvd with op system.
    someone has changeng in my imac settings of the hdd.

    If 10.7.0 or later...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partitirion & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    If that doesn't help Reinstall the OS.

Maybe you are looking for

  • Cannot open JPEGs in ACR via Bridge

    The strangest thing has happened recently. Where I used to be able to open a JPEG file in Camera Raw 6.3 when viewing in Bridge (CS5) it now defaults to opening them only in Photoshop (CS5). My preferred processing workflow is: Adobe Bridge > Camera

  • Saving print layout templates

    In a future release, would it be possible to have a function whereby you can save your print layouts in a folder, as a backup precaution incase you accidentally delete or alter an original one?  At the moment, you can only back the PLD templates up v

  • Audio Fades

    just upgraded from CS3 to CS4. Tried doing both power and gain audio crossfade on cs3 and cs4, but nothing works. The volume is always at "max" and there is no fade. I also tried the log fade on CS4 , but nothing. Should "volume" always be an audio e

  • Default image size

    I am Using PE 7. Once I import my photos to PE7  It's default size is Width: 1504  Hight: 1000  . I would like it to be different. I need  750  by 500. Can this be done?

  • Automatically refreshing LOV failes

    Hi, I have a report based on Crystal Reports. This reports includes a dynamic parameter (LOV) based on one field in an SAP Query. This SAP query contains an user exit, so that each user can only see "his" data. Based on that user exit, the LOV of the