how to delete a letter in a word?

how to delete a letter in a word?

how to delete a letter in a word? for example if i enter= roseindia, i want to delete 's', then output= roeindia.

View Answers

March 12, 2011 at 11:20 AM

class RemoveLetterFromString{
    public static void main(String[] args){
        String str="roseindia";
        String newstring=str.replace("s","");
        System.out.println(newstring);
    }
}









Related Tutorials/Questions & Answers:
how to delete a letter in a word?
How to delete line starting with a letter in java Regex?
Advertisements
display all words containing the letter which i gave as input...
how to delete a row in sql without using delete command.
how to count words in string using java
How to delete file in Java code?
How to delete data from MySQL?
How to delete objects using Hibernate?
How to delete files in Java?
How to delete file in java ?
ModuleNotFoundError: No module named 'letter'
ModuleNotFoundError: No module named 'letter'
how to delete a jar from mobile
how to delete a jar from mobile
how to delete a jar from mobile
how to delete a jar from mobile
how to delete a jar from mobile
how to delete a jar from mobile
how to delete a jar from mobile
how to delete a jar from mobile
how to delete a jar from mobile
how to delete a jar from mobile
how to delete a jar from mobile
How to delete .xlsx file in java?
Display first letter of every word in uppercase
letter counting for the smallest word
how to delete the access database value in jsp
how to delete the access database value in jsp
delete
DELETE
How to Delete a column and Add a new column to database
How to delete all Docker local Docker images
ModuleNotFoundError: No module named 'letter-list'
ModuleNotFoundError: No module named 'phoenix-letter'
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application
how to delete a jar from mobile in j2me application

Ads