char *strmerge (char *s3, const char *s1, const char *s2)
{
strcpy (s3, s1);
strcat (s3, s2);
return s3;
}
string
That really depends on the programming language. In Java, it is sufficient to concatenate it with a String: int myNumber = 5; result = "" + myNumber; Other languages may require a special function, or method, to convert from integer to string.
Use "+". Example: String string = "does this answer " + "your question?";
Example:printf ("There is one semicolon; in this string");printf ("There is no semicolon in this string");
strlen
GetA is a math function and not a string function.
string
The string function is strlength and it is evoked to return the length of a string.
That really depends on the programming language. In Java, it is sufficient to concatenate it with a String: int myNumber = 5; result = "" + myNumber; Other languages may require a special function, or method, to convert from integer to string.
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);
To count the number of 'a's in a string, you can use the count() method in Python. For example, if you have a string my_string, you can get the count of 'a's by using my_string.count('a'). This will return the total number of occurrences of the letter 'a' in the string. Finally, you can print the result using the print() function.
string length is a function use to check the lenght of a string i.e number of alphabets in a word or sentence.
shashi
between parentheses: funname ("string")
The REPLACE function.
In different languages we have different datatypes . Like in c++ we have int for integers , string for strings . In database we have datatypes, number for storing integer and varchar2 for storing string or characters.Like in languages like c we have datatypes such as char for characters , int for integers etc . In database we have datatype to denote the type of the field example numbers for storing integer, Varchar for characters.
Use "+". Example: String string = "does this answer " + "your question?";