Questions tagged [append]

To append is to join or add on to the end of something.

Append is an operation usually defined on 1D data structures (e.g., , , , , etc.).
The append operation adds an element to the end of the data structure, consequently, increasing its size by one.

11138 questions
12
votes
2 answers

Save File to MyDocuments + App Folder

I am trying to save my .NET application settings file to the user's %MyDocument%\MyApplication folder, but I don't know how to check for an existing folder\file, and create or append the folder\file on save. I don't want to open a saveFileDialog…
Jeagr
  • 1,038
  • 6
  • 16
  • 30
12
votes
3 answers

NSURL add parameters to fileURLWithPath method

I use this line of code to load a local html file into a web view: NSURL *url = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"index" ofType:@"html" inDirectory:@"html"]]; However I want to add some http parameters to the url with…
Borut Tomazin
  • 8,041
  • 11
  • 78
  • 91
11
votes
5 answers

Combine 2 Excel tables into one appending the data?

I have 2 tables on 2 separate sheets of an MS Excel 2007 workbook, like below: =========================== no. f_name l_name =========================== 13 Little Timmy 1 John Doe 17 Baby …
anuj
  • 111
  • 1
  • 1
  • 3
11
votes
2 answers

jQuery $(this).remove() not working after append

I have a div with class="tags" with one predefined hyperlink. And I have function to remove that hyperlink if user clicks on it. $('.tags a').click(function() { $(this).remove(); return…
svenkapudija
  • 5,128
  • 14
  • 68
  • 96
11
votes
9 answers

remove appended script javascript

how can I remove my appended script because it causes some problems in my app. This is my code to get my script var nowDate = new Date().getTime(); var url = val.redirect_uri + "notify.js?nocache=" + nowDate + "&callback=dummy"; var script =…
Robin Carlo Catacutan
  • 13,249
  • 11
  • 52
  • 85
11
votes
2 answers

jQuery Append element from iframe to it's body parent window.

I have elm.appendTo('#wrap'); where elm is a jquery object of the clicked image inside iframe. I want to append that image to a
where #wrap is a div in the body of the page outside iframe. So basically when i double click on an…
Pinkie
  • 10,126
  • 22
  • 78
  • 124
11
votes
3 answers

How to append string in local resource txt file for iOS sdk

I have been trying to append strings to a local resource file but I am having trouble finding a solution. I am trying to create a log file for all the function call in my application so if it crashes I can see which function it stopped on. I have…
Mobile App Dev
  • 1,824
  • 3
  • 20
  • 45
11
votes
1 answer

What do you call the << operator in Ruby when it's used for appending stuff?

In other contexts I know this << is called the bitshift operator. Is there a name for it when it's just used for append operations like you would do in an array or string (not sure what else you can append with it)? I'd like to be able to use an…
more or less
11
votes
2 answers

Data.Sequence vs. Data.DList for appending data to the end of the list

I'm writing some code that needs to frequently append to the end of a list. I know that using "++" is inefficient. So instead I build up the list backwards by appending to the head, and then reverse it when I'm done. I gather that this a common…
nont
  • 9,322
  • 7
  • 62
  • 82
11
votes
1 answer

Append created image file in formdata

I've created an image using canvas. I want to append the exact image file in the form data and not the url. This is my code.
11
votes
4 answers

Merge two columns into one within the same dataframe

I have a question to merge two columns into one in the same dataframe(start_end), also remove null value. I intend to merge 'Start station' and 'End station' into 'station', and keep 'duration' according to the new column 'station'. I have tried…
BCKN
  • 191
  • 1
  • 2
  • 12
11
votes
5 answers

C file streams, inserting at the beginning

Is there a simple way to insert something at the beginning of a text file using file streams? Because the only way I can think of, is to load a file into a buffer, write text-to-append and then write the buffer. I want to know if it is possible to…
textman
  • 111
  • 1
  • 1
  • 3
11
votes
1 answer

Python: append an original object vs append a copy of object

First of all, sorry if this questions is extremely basic, I'm just starting with Python. I'm having problems understanding how Python 3.6 creates and appends objects to lists. See the following code: a_dict=dict() a_list=list() for i in…
alezvic
  • 344
  • 1
  • 4
  • 20
11
votes
4 answers

Append to same line in Bash

The file letters.csv contains: b,a,c, The file numbers.csv contains: 32 34 25 13 I would like to append numbers.csv to letters.csv like this: b,a,c,32,34,25,13 I have tried this: sed -e :a -e '{N; s/\n/,/g; ta}' numbers.csv >>…
IslandPatrol
  • 261
  • 3
  • 11
11
votes
2 answers

How To Insert OPTIONs into SELECT with jQuery -- Cross-Platform, Even IE6

I need a cross-platform way to insert OPTIONs into a SELECT with jQuery. I think I recall in the past that IE6 does nothing when this is called: