473,395 Members | 1,440 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

remove "@" from verbatim string?

Hi Everyone,

Is there any way to remove the "@" from a verbatim string?
I've tried the .remove(int, int) method, but it doesn't work.

Thanks
ouch
Nov 15 '05 #1
4 2185

<ouch> wrote in message news:dv********************************@4ax.com...
Hi Everyone,

Is there any way to remove the "@" from a verbatim string?
I've tried the .remove(int, int) method, but it doesn't work.

Thanks
ouch


I'm not sure what you mean. As I understand it, the @ is not part of the
string; it's part of a notation for expressing it. Thus @"a\b" is the same
string as "a\\b" and consists of the three character a, \, b.

Or do you have something else in mind?
Nov 15 '05 #2
I don't think I explained this one clearly...

Once you've defined a verbatim string, can you then make it
non-verbatim?
Is it possible and how would you do it?

Thanks
Hi Everyone,

Is there any way to remove the "@" from a verbatim string?
I've tried the .remove(int, int) method, but it doesn't work.

Thanks
ouch


Nov 15 '05 #3
Nevermind...figured it out...
Nov 15 '05 #4
Hi Michael,

Yes, I figured out (after a bit of fumbling) that "@" wasn't actually
part of the string but an identifier that precedes it.

My problem was that it seemed the resource manager's "GetString"
method returns a verbatim string, while what I actually wanted was a
non-verbatim string so I could include and recognise \n, \t, etc.

I've managed to solve it now though.

On Wed, 10 Dec 2003 21:16:27 -0500, "Michael A. Covington"
<lo**@www.covingtoninnovations.com.for.address> wrote:

<ouch> wrote in message news:dv********************************@4ax.com...
Hi Everyone,

Is there any way to remove the "@" from a verbatim string?
I've tried the .remove(int, int) method, but it doesn't work.

Thanks
ouch


I'm not sure what you mean. As I understand it, the @ is not part of the
string; it's part of a notation for expressing it. Thus @"a\b" is the same
string as "a\\b" and consists of the three character a, \, b.

Or do you have something else in mind?


Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Norm | last post by:
Hi, I've got a VBA Access application, and I want to remove the "Type a question for help" box from the menubar? How can I do this? Thanks, Norm
6
by: hercules | last post by:
Hi: In some code , I used typedef unsigned char BOOL; /*boolean */ But in other code , I must use typedef unsigned int BOOL; /* boolean */ How to remove the previous typedef ? ...
1
by: John Grandy | last post by:
How to remove "Read Only" status on a file on a remote server? My goal is to delete the file, but System.File.Delete(\\machine1\c$\folder1\file1.txt) is giving me an "Access is denied"...
2
by: Alpha | last post by:
It's handy to have the blue sqare mark on all the resutls of the Found lines but how do I remove it once I'm done with that? Thanks, Alpha
2
by: Gala Grant | last post by:
Hello, I am trying to find if there is a setting somewhere that I can change that will remove the "ReturnUrl=blah.aspx" from the url when someone tries to access a page without being logged in. ...
6
jlandbw04
by: jlandbw04 | last post by:
Okay. Here's the deal. I have this assignment for college that has me completely puzzled. I need this assignment to do the following: 1. input 12 integers into an array from the user. 2. output...
1
by: Dilruba | last post by:
I want the suggestion what is better for use between Session.abandon & Session.Contents.Remove
6
by: RSbroman | last post by:
I have created an append query that I would like to run when the DB is opened. However I do not want the end user to receive the "yes" "no" confirmation box when the query is being run. Can...
4
by: FullBandwidth | last post by:
I have been perusing various blogs and MSDN pages discussing the use of event properties and the EventHandlerList class. I don't believe there's anything special about the EventHandlerList class in...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.