answersLogoWhite

0

What are 4 string handling function?

Updated: 12/10/2022
User Avatar

Wiki User

11y ago

Best Answer

strlen(s1) to find the length of the string s1

strcpy(s1,s2) copy source string to destination string(i.e copies s2 to s1,s2 remain unchanged)

strcmp(s1,s2) compares s1 and s2 and prints 0 if s1 and s2 are equal,-1 if s2 is greater, 1 if s1 is greater

strcat(s1,s2) combines string s1 and s2 to a single word and stores it in s1

strupr() converts lower case string to upper case

strlwr() converts upper case string to lower case

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are 4 string handling function?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Reverse of a string without using string handling function?

shashi


Define string handling function?

Penis


When is exception handling necessary for stream handling?

Exception handling is necessary for string handling as there might be some unexpected situation during string handling which may lead to program crash or abrupt termination


Geta is a math function or string function?

GetA is a math function and not a string function.


Which is string function starchy or strlength?

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


What is the function of pre-defined function LEN in Excel?

The LEN function returns the length of the specified string.=LEN(text)text is the string to return the length for.EXAMPLE:=LEN(word) will return the value of 4.


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);


What function are used for string length in visual basic?

string length is a function use to check the lenght of a string i.e number of alphabets in a word or sentence.


How string can be passed to a function in c?

between parentheses: funname ("string")


Which text function replaces text in a string?

The REPLACE function.


Concat a string without using any inbuilt function in java?

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


Write the function replace which finds the string from in the string string and replaces it with the?

Hay buddy this is homework. U have to solve it by urself.