string

Passing String value from Mobile Application to html javascripted codes on opera browser?

Hi i currently have a puzzle game application on smartphone windows mobile 6. I want to pass a simple arrayed string to a browser/opera that opens the .html code file which is a google map code. When the browser is opened, i would want to choose the values to be displayed inside textfield. I'm working on a mobile with windows mobile 6 C...

Parsing information from Dentrix desktop application.

Hello guys, My company wants me to parse information stored in Dentrix software and import it into our database. I want to extract appointments information (which I believe reside in APPT.DAT file) through java application, but I am having troubles doing this operation. If anyone has any useful hints on that matter please help me. Reg...

Adding a TM superScript to a string.

I need to add the TM(trademark) superscript symbol next to a title in a C# string. is there anyway to possibly do this? Thanks! ...

Finding the substring

I have a string that could look like this: smithj_Website1 or it could look like this rodgersk_Website5 etc, etc. I want to be able to store in a string what is after the "_". So IE (Website1, Website5,..) Thanks ...

how to create a null string?

I have two constructors MyObj(String s){ //first constructor ... if(s==null) s = somecode; this.s = s; ... } MyObj(): this(null) { } //second constructor In this way, if the empty constructor is called, it will redirect to the first constructor and initialise the value as determined by some code. However, now...

Cocoa - Easiest way to convert the string 'employeeName' into 'Employee Name'?

I have a string employeeName, what's the easiest way to change this to 'Employee Name' in cocoa? Also how would I just extract the first word in the above? ...

Difference between converting strings

Possible Duplicate: Difference between Convert.tostring() and .tostring() Hi Carrying on from this question http://stackoverflow.com/questions/3486810/the-difference-between-convert-and-parse Here are two lines of code. Convert.ToString(myObject); myObject.ToString(); My question is what is the difference and which would ...

How to prevent from cutting string field values in a crystal Reports8.5 report?

Hi First, sorry for my poor english writing. there is an old application written with Vb6.0 and crystal reports8.5. One of the reports (for example report1) has used active data method for retrieving data from SQL server. It contains a field named "description" that has 500 character at most. The problem is that the field (decription) c...

php string variable containing as input for array function

Why this does not work? $stringhaha =" 1 => General, 2 => Business, 3 => Entertainment, 4 => Health, 5 => Politics, 6 => Sci/Tech, 7 => Sports, 8 => News"; $all_categories = array($stringhaha); print_r($all_categories); (will give an array with 1 item.) While this works: If I include ...

How to remove spaces from a string

string txt = " i am a string " i want to remove space from start of starting and end from string' like after that it will be "i am a string" how i can do this in c# ...

How to split a string in C#

I have a string. Example: Eternal (woman) I want to make it Eternal (Woman). How I can do this in C#? If I split by string[] mean = inf.Meaning.Split('('); then I can't get (. ...

how to do string manipulation in c#

how i can do this in c# Explosive;a dynamic person if i do split then ; is removed from text how i can make them Explosive;A dynamic person ...

Perhaps a function pointer or casting problem. Not sure.

What's happening in this code? I don't get this code. Looks like it's performing some type of casting or using function pointers but I'm not sure. Will appreciate if someone can help me. Thanks. const char string[]="Hello!"; int main() { (*(void (*)()) string)(); //Obviously, my problem is this line :) return 0; } ...

PHP: How should I escape a string that will be going into a Javascript String?

How should I escape a string that will be going into a Javascript String? URLEncode(X)? str_replace("'","\'",X)? ...

Helper for removing illegal characters?

I am using a user input string to create a url and I only want the url to contain lowercase letters and hyphens e.g. example.com/this-is-a-url In my model, I have added so far: def to_param name.downcase.gsub(" ", "-") end This makes it lowercase and hyphenated. How can I remove all illegal characters, such as '/"$£%& ...

in python how do I convert a single digit number into a double digits string?

So say i have a = 5 i want to print it as a string '05' ...

Search an array for a matching string

Hi There, I am looking for away to check if a string exists as an array value in an array is that possible and how would I do it with PHP? ...

Python and C++ integration. Python prints string as multiple lines.

I'm trying to write a program in python to run a program in C++. It wasn't working right, so I made the most basic version of each I could. The C++ program merely takes in a string from stdin, and then prints it out. The Python code is written as follows: import popen2, string, StringIO fin, fout = popen2.popen2("PyTest") msg = ur"Hel...

Taking strings as input into an array of pointers to strings and displaying them

I intend to store strings into an array of pointers to strings and then display them as follows : char *directions[3]; for(i=0;i<3;i++) scanf("%s",directions[i]); for(i=0;i<3;i++) printf("%s",directions[i]); but when i run this code ,it gives me segmetation fault ,could someone please correct me? ...

php: how to change string data become numeric data

dear all.. can you tell how to change this result in php and mysql script: Model Class Ball S Book A Spoon Plate B Box C this is my DB: CREATE TABLE IF NOT EXISTS `inspection_report` ( `id` int(11) NOT NULL AUTO_INCREMENT,...