Getting exact content, when search - Adobe Indesign

This is a discussion on Getting exact content, when search - Adobe Indesign ; Hi All, While searching contents of some style, which is having boxes for the spaces at front and back of that content. How to get without spacing, i mean exact content. Thanks, S & S...

+ Reply to Thread
Results 1 to 4 of 4

Getting exact content, when search

  1. Default Getting exact content, when search

    Hi All,

    While searching contents of some style, which is having boxes for the spaces at front and back of that content.

    How to get without spacing, i mean exact content.

    Thanks,
    S & S

  2. Default Re: Getting exact content, when search

    Dear Dave,

    Thanks for the response.

    All the searched contents takes spaces as boxes, while displaying.I thought,so that won't takes as spaces. If i got the unicode value of the character thats makes easy to remove box characters.

    Please help how to get unicode value for that character or hexadecimal.

    Thanks & Regards,
    S & S

  3. Default Re: Getting exact content, when search

    Select the box and look in the Info palette for the unicode.

    Dave

  4. Default Re: Getting exact content, when search

    Thanks Dave,

    Some thing i have changed in your coding based on knowledge, that works great.

    function stripSpaces(theText)
    {
    while(theText.charCodeAt(0)=="65279")
    {
    theText=theText.slice(1);
    }
    while(theText.charCodeAt(theText.length-1)=="65279")
    {
    theText=theText.slice(0,-1);
    }
    return theText;
    }

    Thanks,
    S & S

+ Reply to Thread

Similar Threads

  1. exact point search
    By Application Development in forum Graphics
    Replies: 8
    Last Post: 11-30-2007, 07:18 AM
  2. Re: Getting exact content, when search
    By Application Development in forum Adobe Indesign
    Replies: 0
    Last Post: 02-06-2007, 05:18 PM
  3. bsearch/qsort problem for effective_dated search non-exact
    By Application Development in forum C
    Replies: 1
    Last Post: 06-26-2005, 04:57 AM
  4. content search in win2003
    By Application Development in forum Inetserver
    Replies: 1
    Last Post: 09-30-2004, 01:16 PM
  5. Do a search for an Exact Match
    By Application Development in forum Inetserver
    Replies: 3
    Last Post: 04-07-2004, 12:35 AM