How do I remove the last two chars from each line in a text file using just Linux commands?
Also my file seems to have weird ^A delimiters in it. What char does ^A correspond to?
Im using c#.net. I have an xml file that contains many nodes. I have got the xml file into a tree view. Now when I select a particular node in the treeview, I should be able to display all its ancestors in a multiline text box. Please suggest me to do this job.
I have multiple textboxes which im using for search query ,i want to validate them in such a way that if any one text box has value user can submit.
Can anyone suggest me ,how to do it .
Thanks
Hello,
I am curious if there is an algorithm/method exists to generate keywords/tags from a given text, by using some weight calculations, occurrence ratio or other tools.
Thanks
My database has a datetime field, and I want to be able to create new entries. Obviously the Rails datetime_select helper isn't the most user friendly thing to have in your form.
I'd rather have a text field for the datetime (or one for the date, and one for the time) and interpret the inputs like PHP strtotime can.
I might just be searching the wrong keywords. Surely this has been discussed in great depth somewhere.
Thanks
:0)
May I know how to add a new custom text field in TFS to show the lastest revision number?
Can anyone explain in deatil about
Making use of work item’s XML and customize TFS work items.
How to create custom window form control to add to work item.And installation of
custom control runtime
In Firefox 'A' shows in the middle, on Chrome/IE it doesn't:
<button type="button" style="width:24px; text-align:center; vertical-align:middle">A</button>
Note the following has the same results:
<button type="button" style="width:24px;">A</button>
Hi,
I want to wrap a text that is added to the TD.
I have tried with style="word-wrap: break-word;" width="15%".
But the wrap is not happening. Is it mandatory to give 100% width ?
But I have got other controls to display so only 15% width available.
Need help.
TIA.
I have a radio button list and some of the labels are quite long so they wrap and the second line appears underneath the radio button. Ideally I would like the text to wrap with the second line starting beneath the first character of the first line.
Any ideas on how? or would I have to make my own list based control for this?
Hey,
anyone knows a jQuery plug-in for text zoom a-la MAC OS X "Large Type" function in Address Book? I'd use it for the same situation - to show full-screen phone number after clicking on it.
Cheers
Hi
I have a problem with text with apostrophe symbol
example i try to test this xml having the symbol is then how can i compare ?
<xsl:for each select="country[nation='India's]">
this is statement showing error
Regards
Nanda.A
Hello!
I want to write video filter for Adobe Premiere, and I need to print/draw/render some text into the output video frame.
Looking into adobe premiere cs4 sdk I couldn't find a quick answer - is it possible?
Thanks!
The user should input two strings and the script will performe a text search:
$sql = "SELECT * FROM table_one WHERE name='%$str1%' AND MATCH (street, city, pin) AGAINST ('$hrtg'IN BOOLEAN MODE)";
somehow the % does not work, but it alwas did actually. please help?
Hello!
I want to write video filter for Adobe Premiere, and I need to print/draw/render some text into the output video frame.
Looking into adobe premiere cs4 sdk I couldn't find a quick answer - is it possible?
Please provide some samples!
Thanks!
Hello,
I am creating a ebook iPhone application and it consists of a bunch of pages.
My problem is some of the pages consists of images.
Is there a way to put the text and image in the same component.
What would be the best way to acheive this?
Thanks
Hi all,
I am just trying to count the number of white spaces to the LEFT of a line from a text file.
I have been using
count( line.begin(), line.end(), ' ' );
but obviously that includes ALL white spaces to the left, in between words and to the right.
So basically what I'm wanting it to do is once it hits a non-space character stop it from counting the white spaces.
Thanks everyone.
i have some comboboxes and some textboxes on a form
i would like to clear all of them with one line of code. is that possible?
something like all_controls.text=""
I would like to know if it was possible using Javascript to find an image tag by its alt text. For instance I have this tag: <img src="Myimage.jpg" alt="Myimage"> would there be a vay to abtain the tag by looking for the "Myimage" alt attribute?
hi
i want to make use of Com intefaces into my .net application,
but this is related to Text Services Framework and i reasearched on this and it was like it only supports COM servers
can anyone help me on this
can i use TSF intefaces into my .net application
and if yes Please tell me how to do it
plzzzzzz :)
thanks
Hi, I am trying to remove text that is within parentheses (along with the parentheses themselves) but am having trouble with the scenario where there are parentheses within parentheses. This is the method I am using (in Ruby):
sentence.gsub(/\(.*?\)/, "")
and that works fine until I have a sentence such as:
"This is (a test (string))"
Then the above chokes. Anyone have any idea how to do this? I am completely stumped.