answersLogoWhite

0

Use "+".

Example: String string = "does this answer " + "your question?";

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How do you concatenate a string?

v can concatenate two string by using a function like: select CONCAT( CONCAT('ename','e_mrks'),"name","marks" from student;


Which string function appends source string to the destination?

The string function that appends a source string to a destination string is typically called strcat in C and C++. This function takes two arguments: the destination string and the source string, and it appends the source string to the end of the destination string, modifying the destination string in place. In other programming languages, similar functionality may be achieved with functions like concat or the + operator for string concatenation.


What are the two ways strings can be combined to create a new string?

Concat()


14 Write a program to change the case of the given string?

public class class1{public void changeCase(String str){String str1=str.toUpperCase();String str2=str.toLowerCase();System.out.println(str1);System.out.println(str2);System.out.println("After concatenation "+("to".concat("get").concat("her")));}public static void main(String[] args){class1 c1=new class1();c1.changeCase("Hello");}}


How do you reverse a string in PHP without using a function?

Without any function is impossible. So I'll assume you mean any coded function, in which case the predefined function below is your answer.$string = strrev($string);


Reverse of a string without using string handling function?

shashi


What program can be written to count the number of alphanumerics in a string?

public int getStringLength(String val) { return val.length(); } There is an inbuilt functionality in strings that counts the number of alphabets in a string called length()


Geta is a math function or string function?

GetA is a math function and not a string function.


How do you find the length of string without using strlen function in MySQL?

SELECT char_length (...) FROM ...


Which is string function starchy or strlength?

The string function is strlength and it is evoked to return the length of a string.


Write a Program to convert decimal number into hexadecimal no without using function and string?

This is not a question.


Is it possible to convert a string into integer without using any function in c?

Yes