8 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for sundog1

Hi Guys, If you have a Text Box which you are putting in the Decimal Places such as "15.50". Then Submitting this to a Access Database then on re-fresh the data shows in the grid view as "15.5". Where abouts should this be modified so that it shows Decimal Places? …

Member Avatar for sundog1
0
3K
Member Avatar for mslittle1

I need help with my homework assignment. The assignment is write a method DisplayDigits that receives an integer between 1 and 99999 and displays it as a sequence of digits, separating each pair of digits by two spaces. For example, 4562 should appear as 4 5 6 2 I have …

Member Avatar for mslittle1
1
465
Member Avatar for patrickgormally

I'm writing a program in .asm which prompts the user to enter a sentence. I have no problems with this but one requirement of the program is to change the format of the sentence by replacing all the spaces (" ") with underscore characters ("_"). How do I go about …

Member Avatar for Assembly Guy
1
6K
Member Avatar for branding4you

Hi I have code I use to look up data from mysql, then dispaly in text boxes. For some reason ALL my data drops the words and spaces Example: if a supplier name is "DyFin (Pty) Ltd" the text box only displayes "DyFin" Example: If My phone numbers are "0860 …

Member Avatar for branding4you
0
211
Member Avatar for babi.meloo

I need to create a palindrome tester program that ignores spaces, punctuation and uppercase/lowercase to determine if the string given to the user is a palindrome (same beginning to end as end to beginning). HERE'S WHAT I HAVE SO FAR: String str, another = "y"; int left, right; Scanner scan …

Member Avatar for JamesCherrill
0
2K
Member Avatar for eburlea

Hello, Please advise how to remove white spaces before and after a sentence only. Example: " This is a sentence. " should be "This is a sentence." Thanks.

Member Avatar for pritaeas
0
203
Member Avatar for michelleradu

Hi All, I have to split a text into words using both spaces and punctuation as delimiters. Punctuation includes characters like .,!?:;'"- I am using the split function as it follows: [CODE]wordsArray = strLine.split("[.,!?:;'\"-]+\\s*");[/CODE] However, this only splits my text by spaces and ignores other characters I've set as delimiters. …

Member Avatar for ~s.o.s~
0
7K
Member Avatar for dizzyboy

Im a beginner in C,Can anyone help me? :?: I have problems when I encounter double or multiple spaces between words. [CODE] #include <stdio.h> FILE *fpr; int main(int argc,char *argv[]) { if ((fpr = fopen(argv[1],"r")) == 0) { printf ("\nFile %s Don't Exist!\n", argv[1]); } fprintf (fpr,"%d",count()); return(0); } count() …

Member Avatar for dizzyboy
0
207

The End.