answersLogoWhite

0


Best Answer

public class RemoveSpace{

public static void main(String args[]){

String str = "8085";

Sysytem.out.println(str.trim());

}

}

Get The Desired OutPut....

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a program to eliminate the blanks from string 8085?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a program in Lex to eliminate white space and collect numbers as a token?

write a lex program to delete space from the program


Write a program to implement the various operations on string such as length of string concatenation reverse of a string copy of a string to another in VB?

what is string


Write a program in java to display a string message using Servlets?

i dont no string for servlate


Write a program that input a positive integer and prints a triangle using for loop?

write a program that reads in the size of the side of square and then pints a hollow square of that size out of asterisks and blanks?


Write the program in Linux to find the reverse of any string?

i am sam


Write a program to find the length of a string in shellscript?

This is an assignment not a question.


How do you write a c program to find a word in a string?

what is if(!(str[i]==32))


Write a java program to count the space from the given line?

.... String line = "This is example program with spaces"; String[] tokens = line.split(" "); System.out.println(tokens.length-1); .......


How do you write a c program to find the smallest word in a string?

what is if(!(str[i]==32))


Write a program convert a string from uppercase to lower case and vice-versa without using string tolower and string toupper commands in TCL?

[ string toupper $str ] or [ string tolower $str ]


Do I need to write a program to find a substring in a given string in c plus plus?

No.


Write a java program to initialize array of string with the days of the week?

final String[] days = new String[] {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"};