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...
-
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
-
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
-
Re: Getting exact content, when search
Select the box and look in the Info palette for the unicode.
Dave
-
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
Similar Threads
-
By Application Development in forum Graphics
Replies: 8
Last Post: 11-30-2007, 07:18 AM
-
By Application Development in forum Adobe Indesign
Replies: 0
Last Post: 02-06-2007, 05:18 PM
-
By Application Development in forum C
Replies: 1
Last Post: 06-26-2005, 04:57 AM
-
By Application Development in forum Inetserver
Replies: 1
Last Post: 09-30-2004, 01:16 PM
-
By Application Development in forum Inetserver
Replies: 3
Last Post: 04-07-2004, 12:35 AM