Single slash to Double Slash Convertion
hi all,
i want to replace single slash (\) by double slash(
) in a path , ex :
...\..\.. should become
.. when i m trying to do so,it takes it as an escape sequence character. Can anyone help me plz
Use double-slash to represent the single slash and a quadruple slash to represent the double-slash.
stringreplace( Transaction.PropertyName , "
Above statement translates to replace "\" with "
" when the expression in the Link Editor is evaluated.
The other option is to create a local property called Slash with a default value of \ in the property editor.
Your expression would look like:
stringreplace( Transaction.PropertyName , Local.Slash , Local.Slash & Local.Slash )
Of course, you could use another local property of double-slash if you wish.
Hope this helps.
Cheers,
Jai.
Similar Messages
-
File Protocol does not work with double slash ...PLEASE HELP
Hi ALL
POSTING THIS AGAIN....Please have alook
I am using j2sdk 1.4.2 . In 1.4.1 version File protocol was working with double slash
But Now in 1.4.2 version I have to use /// slashes to make it work...
Can anyone shed any light on this. Has Sun changed something ?
I searched the release notes but could not find anything useful.....
Please comment .
ThanksThe problem is that it leads to maintenance problems
for our products
future releases and I need to find a good solution to
this problemRead the spec for file URLs, fix your existing code to use it, and remember this lesson for next time.
(Side note: I can't remember ever using or seeing double slases.) -
Pages 2.0.2 in Palatino will not allow capital O followed by forward slash but insists on converting it into Sandinavian Ø. How can I stop it?
The best way to stop it is to get rid of the obsolete font. Palatino 3.8 from 2006 should normally also be present as part of iLife/iWork and it works correctly.
-
Dreamweaver hangs when using double slash file includes?
When I use Dreamweaver CS6 for Web Development I experience problems when using code with double slashes, like the following:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
Everytime I try and edit the page Dreamweaver will hang maybe 30 to 60 seconds, I believe its trying to locate the include locally which will always fail.
I have turned dynamic discovery off but it still happens, is there a fix for this issue?Silver89 wrote:
My question is why does Dreamweaver hang and why can we not prevent that from happening?
To be completely honest, it hangs because DW isn't programmed to handle it the way we'd all like. As far as keeping it from happening, you "could" develop with the http there. I would suggest using a php include to add the link into your <head> section as the http version during development. That way, when you go live with it, you only need to change it once for the entire site. It's not the best solution, but it should do the trick and get DW to behave, until Adobe fixes the problem.
You can help bump this issue up in the list of bug fixes by adding your voice here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform -
Business Objects changes forward slashes to backward slashes.
When a report failed to run I saw this error: u201Cdestination file error. CrystalEnterprise.DiskUnmanaged:u201D; then I noticed that every time I entered the path into the directory text box, in the destination section of the scheduling page it would change the forward slashes to back slashes.
e.g.
changes something like this:
+
example\example\example\example\example\report.xls+
to this:
//example/example/example/example/example/report.xls
Does anyone have any idea why? I have been searching for an answer, but canu2019t find it.
ThanksThe UNC path is automatically converted to forward slashes. Can you verify please that you start the job server with a domain or local user account that has access to the network and rights to access the folder/share? I f you encounter further issues clear your logging folder and activate the trace for the jobserver by adding -trace to the end of the command line in your your ccm.
Regards,
Tim -
String value changes single quote ' to double quote "
I am creating a list with different bill codes within single
quotes as follows
<cfset corlist = " '1100 ','1200 ','1300 ','1700 ','1800
','1950 ','7001 ' ">
when I do an output
for
<cfoutput>AND idbillcode IN ( #corlist
#)</cfoutput>
I get the values as follows
AND idbillcode IN ( '1100 ','1200 ','1300 ','1700 ','1800
','1950 ','7001 ')
However when I put the same string within a cfquery the
single quotes get replaced by double quotes as follows
AND idbillcode IN ( ''1100 '',''1200 '',''1300 '',''1700
'',''1800 '',''1950 '',''7001 '') which throws an error.
Anybody has any clues.
Thanks.However when I put the same string within a cfquery the
single quotes
get replaced by double quotes as follows
AND idbillcode IN ( ''1100 '',''1200 '',''1300 '',''1700
'',''1800
'',''1950
'',''7001 '') which throws an error.
Anybody has any clues.
That is ColdFusion escaping the single quotes, by doubling
them so that
you can search for strings such as "singhpk's code does not
work".
(Note the single quote/apostrophe that would normally break
this string
if it was not escaped.
To tell CF not to do this, one uses the
preserveSingleQuotes() function.
The documentation has all the details. -
How to handle both single click and double click from mouse
hey,
I looked in past threads and didn't get a proper answer for capturing both single and double click from the mouse.
in most applications the single click action does not interfere with the double click action, for example in a text editor, single click sets the cursor in between the text, double click marks a word, triple click marks a sentence, they do not bother each other, they all can happen first the single then the double and then the triple, but what if i have a very distinct action for each of the actions, the e.getClickCount() returns every time the number of clicks and if i use
if(e.getClickCount()==1)
doSingleClick();
if(e.getClickCount()==2)
doDoubleClick();it will always do first the single click and then the double click, which works fine with the example i gave, but not with what i want to do, so i was thinking to over come this that i will use another thread to run my tasks if dt has past since the last click and by the last click counts to perform the correct action and go to sleep until the next mouse click notify it, what do you think?
run this to get what i mean...
package blah;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class MouseClickTest {
static long previousTime = System.currentTimeMillis();
public static void main(String[] args) {
JPanel panel = new JPanel();
JButton component = new JButton("Hit me, please");
component.addMouseListener(new MouseAdapter(){
public void mouseClicked(MouseEvent me){
if(me.getClickCount()==1)
System.out.println("Now I will do single click action");
if(me.getClickCount()==2)
System.out.println("Now I will do DOUBLE click action");
// System.out.println("Click count: " + me.getClickCount());
panel.add(component);
Launcher.launch(panel);
package blah;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Launcher {
public static JFrame launch (Container contents, String title, Color backgroundColor) {
JFrame frame = new JFrame (title);
if (backgroundColor != null) {
frame.setBackground (backgroundColor);
contents.setBackground (backgroundColor);
} else {
frame.setBackground (contents.getBackground());
frame.getContentPane().add (contents, BorderLayout.CENTER);
frame.pack();
frame.addWindowListener (new WindowAdapter() {
public void windowClosing (WindowEvent e) {
System.exit (0);
frame.setVisible (true);
return frame;
public static JFrame launch (Container contents, String title) {
return launch (contents, title, null);
public static JFrame launch (Container contents, Color backgroundColor) {
return launch (contents, contents.getClass().getName(), backgroundColor);
public static JFrame launch (Container contents) {
return launch (contents, contents.getClass().getName());
}Read my comments and solution in this posting; [http://forums.sun.com/thread.jspa?forumID=57&threadID=705244]
and then choose a better design for your application. -
My Ipod classic wont play TED, The Grid, Techzilla and other video podcasts (but not all video podcasts). The genious bar could not figure out the problem. Instead, the Apple store gave me credit towards a new classic, which produced the same problem. This problem is not isolated to a single computer. Secondly, the convert to ipod version feature in Itunes does not resolve the problem. Lastly, I tried restoring the ipod to no avail. I've heard this is a video codec problem.
See this extensive older thread on the issue.
https://discussions.apple.com/thread/2813428?start=45&tstart=0
B-rock -
Track Pad single tap and double tap not working
Dear All,
I have a MBP A1226 model with intel 2.2 GHz Core 2 uo processor. With Mac OSX ver 10.8.4.
My system had developed a snag, was not booting up. I booted up thru the rcovery disk and after the disk repair did not help, did a drive erese and a fresh install.
All seems to work well except that the trackpad does not respond to single aswell as double tap. Scrolling is working fine.
Help to resolve this issue will be appreciated.
BTW trackpad was functinal before the snag.
RegardsI suspect the trackpad settings were reset when you did your fresh install of Mac OSX.
to fix this, open up Settings>Trackpad>"Point & Click" tab.
Here you will find tons of settings that wil let you customize how your trackpad works. More specifically, you will want to enable "Tap to Click".
Hope this helps! -
To find out whether a character is of Single byte or Double bytes
hi,
is there any built-in class to find whether a character is a single byte or double byte. is there any method to do so?? If possible can someone provide a sample code snippet to do a check for single byte and double byte characters.
thanx in advance.....If you are asking what size the char primitive is, it's 16 bits.
If you want to know the numerical value of a char, you can cast it to an int and compare it to 255 to see if it fits in 1 byte. -
Remediation for single-clicking a double-click action
I'm using the double mouse click feature of a Click box in a
software simulation lesson we've built in captivate. Unfortunately
when the user single-clicks in the Click box, no remediation shows
to tell the user that they must double-click in the box to complete
the step.
Anyone have any ideas on how to provide the user with
remediation on single clicking a double click Click box?
Thanks,
Scott Witlen
McKessson Provider TechnologiesUm... there are no macros. Captivate is a closed system with
no documented API outside of some variables you can read and in
some cases, set to make Captivate do some simple navigation-related
things. Search the Captivate help file for 'variables' and you'll
find a list.
Outside of that, the only official ways to "enhance"
Captivate are either to:
- Create your own standalone functionality in Flash and
insert it in Captivate as a self-contained animation. This can be
problematic due to the closed nature of the Captivate runtime, as
well as the layering imposed by the use of skins and borders.
- Make Javascript calls to the browser and put the
functionality there. Since there is limited interactivity between
Javascript and Flash, this is much more limited in scope than
inserting your own self-contained animations
Some folks have also opened up a published SWF with a
decompiler program and viewed the Adobe source code in an effort to
make their inserted animations do cooler things, but that is very
much an unsupported activity. -
How to replace single backslash(\) to double backslash(\\)
Hi
I want to replace single backslash to double backslash from the string.
Code is here
String data="File name :\n.txt;File name:\t.txt";
data = data.replace("\\","\\\\");
System.out.println("-->" +data);
i tried to this code but its not working. Help me if anyone is know.
Please reply me asap.
ThanksDVekaria wrote:
Are you not getting my question.Obviously not. That's why we've asked you to clarify it. Twice, at least.
whatever data contenting in Variable, it must print as its on the screen.This code does that.
String s = "a\nb\tc;"
System.out.println(s);The variable s contains a reference to a String object. That String object holds 5 characters: 'a', newline, 'b', tab, 'c'. The println prints out exactly what's in that String--those 5 characters. Note that there is not even one single backslash in that String.
a
b cThis is exactly what you asked for.
Now let's say I create a file in Notepad, and I type the following, and then save it:
a\nb\tcThat file contains 7 characters. 'a', '\', 'n', 'b', '\', 't', 'c'. If I read that file with Buffered reader, it will give me a String object with those same 7 charcters. If I print it out it will print out those 7 characters.
a\nb\tcNote that in both cases, I am printing out exactly what is in the String.
Think carefully on what is the same and what is different between those two cases, and use it to form a clearer definition of your problem. Remember, we want to know what you're trying to accomplish. Just saying "I want to replace backslashes" tells us how you're trying to solve your problem. -
Word 2008 line spacing.. is single space and double space all messed up?
Very basic here: in print layout view (only one I am using) the single spacing and double spacing seem so far apart. Single spacing is way too far apart. Is anyone else seeing this?
That is the issue. I am hitting enter and getting a big space. I see a similar thing in Pages. All I know is tht in 2004 version, I start all my papers with 4 lines in top corner (name-enter/date-enter/assignment/class#-enter) I do these with single space just by default on Word.
THen I go to format-paragraph-double space, and do my writing--double spaced.
This is weird to me. I like word 2008, looks nice, notebook is cool. But I don't like having to re-learn that stuff. Is this how everybody does this? Everyone out of the box can not just type and choose single/double space? We have to edit some paragraph spacing? HUH? -
Leopard Registering Single Clicks as Double Clicks
I have a terrible problem under 10.5.1 with the system registering about 40% of my single clicks as double clicks. It seems to be getting worse, as well. I thought it was an issue with the mouse on my Wacom tablet or with the Wacom driver, but in trying to troubleshoot it I found I had the same problem when using my original Apple mouse.
It's extremely problematic. For example, I've customized my Finder toolbar to include the delete icon. However, if I click the delete icon and the system registers it as a double click, it will delete not only the file I intended, but it's parent directory. Is anyone else experiencing this?I have the same problem. I have concluded that it is a software problem either with OS X or some third party software on the computer.
I originally thought it was a problem with Logitech's control center as that was the mouse I was having problems with. However, I recently replaced that mouse and uninstalled the logitech software and am still having problems with my new mouse from a different vendor. All the while, the trackpad will still register single clicks as double clicks.
In my observations I found that once I restart the computer, single clicks will be registered as normal for the first few minutes of computer use. After that, any time the mouse is clicked more than once without being moved, no matter how much time has passed, it will register the subsequent clicks as double/triple/etc. clicks. So if, for example, I were to click an application icon once, not move the mouse, come back a day later and click again, it will double click. I also found that if the mouse is moved ever so slightly, it might still register as a double click.
Additionally, if I am scrolling through any window but don't move the mouse, it will register the subsequent clicks as double clicks, even when you are clicking on a different item. An example of this is if I am scrolling down a finder window with a lot of files in column view, click on a file to see it's icon preview, then scroll down without moving the mouse and click on another file, it will register as a double click and launch that item.
Other observations: I was having this problem in the early days of my OS install, so I went ahead and reinstalled the system. The problem came back in a day or so and I can't pinpoint it to any one piece of software that has been installed. I'm wondering if it is an OS issue. -
Converting single quote to double - help please
Hi,
Please suggest me how to insert the dml_stmt into the table column..
I have the field called dml_statement field, in that user will give the dml statements..
my program will pass this argument to the procedure and that procedure will insert the data into the table called dml_table(in dml_stmt column)
For simple insert stmt, data is inserting into the table but for the dml whoes having the single quote, it does not getting inserted into the table...
Let me explain this more clearly:
1)ENTER THE DML_STMT : INSERT INTO TABLE_NAME(COL1) VALUES(3434);
ABOVE DML IS GETTING INSERTED BY THE PROCEDURE INTO THE TABLE DML_TABLE:
2)ENTER THE DML_STMT : INSERT INTO DML_TABLE(DML_STMT) VALUES('3424');
ABOVE DML IS NOT GETTING INSERTED BY THE PROCEDURE, I HAVE FOUND
THE PROBLEM TOO BUT CANT OVERCOME THIS.BECAUSE OF THE SINGLE QUOTE PROCEDURE
CANT INSERT THE ABOVE DML INTO THE DML_TABLE
{code}
I tried with replace function, but i cant pass the dml_stmt field
something like this :
select replace('INSERT INTO DML_TABLE(DML_STMT) VALUES('3424');','chr(39)','"') from dual;
i know above qry wont work, but i should do something like above to solve this ....
Please suggest me how to solve this prob ..
Regards,
JameHi Satyaki De,
Its nice to meet you again, i am adding the one more parameter for the create_trigger parameter called dml_stmt.
There is a problem while inserting the dml_stmt which is having the single quote(')....please refer the screenshot for more details..
SQL> exec create_trigger('UPDATE','ADDREP','INSERT INTO TAB')
PL/SQL procedure successfully completed.
SQL> SELECT * FROM ADDREP;
EMPID ENAME SALARY AGE PH
400 JAME 60000 24 99292992
SQL> UPDATE ADDREP SET SALARY = 70000
2 WHERE EMPID = '400'
3 /
1 row updated.
SQL> SELECT * FROM AUDIT_ADDREP;
COL_NAME TAB_NAME OLD_VALUE NEW_VALUE DML_STMT
SALARY ADDREP 60000 70000 INSERT INTO TAB
SQL> exec create_trigger('UPDATE','ADDREP','INSERT INTO TAB VALUES('PROBLEM')');
BEGIN create_trigger('UPDATE','ADDREP','INSERT INTO TAB VALUES('PROBLEM')'); END;
ERROR at line 1:
ORA-06550: line 1, column 65:
PLS-00103: Encountered the symbol "PROBLEM" when expecting one of the following:
. ( ) , * @ % & | = - + < / > at in is mod not range rem =>
.. <an exponent (**)> <> or != or ~= >= <= <> and or like
between ||
The symbol ". was inserted before "PROBLEM" to continue.{code}Abt [create_trigger|http://forums.oracle.com/forums/thread.jspa?threadID=705952&start=30&tstart=0] procedure
how to pass dmlstmt to the procedure which is having single quote ?
Regards,
Edited by: Jame on Sep 20, 2008 1:17 PM
Maybe you are looking for
-
Internationalization in content server
I am developing a portal application that needs to support English/French. So far I found ways to translate everything except content coming from content server. I was planning to create entry templates where content authors would enter the content i
-
Photo Streaming WILL NO WORK ON I PHOTO!
Photo Streaming will work on all my IOS devices, BUT not in I Photo on my MAC. I have the latest I photo and photo streaming is on.
-
Formatting int question : 1 to 1st , 2 to 2nd, etc.
I have a database column containing numerics 1 to 9. I'd like to display 1st, 2nd, 3rd, etc. to the user. I can perform this with some code, but is there a better way to format a number like this? Thanks, Mike
-
CC and incorrect clocks?
CC keeps telling me that my MacPro's clock is incorrect. However, the MacPro's clock shows the same time/date as my cell phone. As a result I have to log in each time to use PS. Any idea of how to solve this problem?
-
I can sync my contacts but not my calender with iphone 4 and outlook 2007 for windows XP. It was working OK up to a month ago