answersLogoWhite

0

The JavaScript's String Object has a function that allows someone to replace words that occur within the string. This works if the form letter with a default reference of username is available.

User Avatar

Wiki User

11y ago

What else can I help you with?

Continue Learning about Engineering

What is string in Python?

A string is a collection of words or characters in '' or "" it is also a data type.


How do you use the Scanner class to store two words or more in a String variable then the next input in another String variable in java?

Scanner scan = new Scanner("[input method]"); // input method could they key board //(System.in) or a String String one = scan.next() + scan.next(); // get the first 2 words and concatenate String two = scan.next(); // the remaining word


How to write Java program for find longest word in a string?

class LongestWord{String str = "Ram is intelligent boy";String stringArray[] = str.split("\\s");public String compare(String st1, String st2){if(st1.length()>st2.length()){return st1;}else{return st2;}}LongestWord(){String word = "";for(int i=0;i


Is it ever necessary to add extends Object to a class declaration?

No; that is the default. In other words, if you don't add "extends", the class will automatically inherit from the "Object" class.No; that is the default. In other words, if you don't add "extends", the class will automatically inherit from the "Object" class.No; that is the default. In other words, if you don't add "extends", the class will automatically inherit from the "Object" class.No; that is the default. In other words, if you don't add "extends", the class will automatically inherit from the "Object" class.


Why doesn't the string class have to be imported into your programs?

The String class is part of java.langpackage which is automatically and implicitly imported in all classes. In other words, adding the statement "import java.lang.String" is redundant.

Related Questions

How do you block swear words on webpages?

Using PHP for example and the string replacement attributed to replace the swear words with *** or something.


Is special a object pronoun?

No, "special" is an adjective, not a pronoun. Pronouns are words that replace nouns in a sentence. Examples of object pronouns include "me," "him," and "her."


What is the definition find and replace for microsoft word?

Find and Replace are actually two separate items in Microsoft Word. Find does just that, it finds any string of characters you type in. This is very helpful, especially with a large document.Replace will also find the next instance of any string of characters you type into the search box and will replace that string with the string you define. Using Replace, you have two options, you can find the next instance and decide whether or not you want to replace that string, or you can click on the "Replace All" radio button to replace every instance of that string.Care must be taken if you use the "Replace All" option. For instance, if you want to replace the string "the" with "a", words such as "other" will become "oar". Obviously not what you want. "Replace All" works well when having to replace names in a document. All instances of that name can be changed in one click.


What is a word that means a string of words?

An organized string of words could be a phrase, a clause, or a sentence.


What is in string?

A string is a collection of words or characters in '' or "" it is also a data type.


A sentence is made up of a string of?

A sentence is made up of a string of words.


What is string in Python?

A string is a collection of words or characters in '' or "" it is also a data type.


Can The Disabled God Toward a Liberatory Theology of Disability be downloaded?

I believe a random string of words is the solution to your random string of words.


Is String in java a class or object?

String is a pre-defined class in Java. For example: String s = new String("This is a string"); the variable s is now a String object since it was declared and initialized in the String class.


Why are the words 'of' and 'the' no capitalized in a title?

It's not because 'of' and 'the' are not the focus of the title. In the title 'My Cat Stole The String' ; the focus words are cat, stole and string.


What words do the letters trnigs make?

String.


What is the name of a string of words start with pH?

Pharagraph