I want to know how to embed a word document into a vb form; so I won't just put the link from my computer, but the document should always be in the vb form. and then I want to check line by line (each ...

I've created a very interesting program that works perfectly.. except for work with smaller files. As it seems it prints some additional unwanted characters which talks for segmentation fault as in ...

I am trying to figure out how to update empty variables outside of a function in Python. The reason for this is to create a loop that queries a user about additional parameters they would be able to ...

The title basically sums it all up, but to explain: I have a string which contains "Color [(Color name here)]" and I want to get rid of the "Color[]" so I'm left with the (color name here) part, what ...

The question is to replace space in a string with "%20".I know how to use for loops twice to implement this question. I just wonder how to do that using StringBuilder. but here comes the question: I ...

I have the following string: 20140420000001
I want to format it to: 2014-04-20+00:00:01
What is the fastest possible way to do this in Java?
Anything faster than this?
String dt = "20140420000001";
...

I'm new here and new to Java, started like 1-2 weeks ago and I wanted to make an app that is applying pythagora's theory. All done, but now I'm stuck in a place where I want the user to be asked if he ...

I downloaded the latest build of Boo this morning, and I'm trying to get started with the language. One of the features I need for my use case is Boo's string interpolation. However, I haven't been ...

I have a process running multiple times over a picture. I would like to save each intermediate picture result using a increasing name;
Ie iteration1.png, iteration2.png, etc. The number of iterations ...

I have to write a code in Java that will take a String and put a certain number of characters on each line (the fixed width). I will also have to put extra spaces in to fill in any extra spots, like ...

I see there are a lot of questions on the topic, but please bare with me.
I have a long string, in which I need to determine whether there is an occurrence of a short string. It sounds very simple, ...

In order to generate filenames I need to provide some buffer memory for sprintf. The size of these buffers was chosen rather arbitrarily in the past. This can easily lead to very nasty stack overflow ...

So I will have list of integer strings, I mean, integers converted to strings in my DB like below:
66S12345, 623T4785, 784D3212
So there will be only one occurance of character in the above string.
...

I am new to programming. I am learning C as my first programming language. I found something strange to understand.
I have learnt that in C we can represent a String as a sequence of characters like ...

I would like to receive a string as the id passed from action link in a view. But for some reason I always get the error HTTP Error 404.0 - Not Found The resource you are looking for has been removed, ...