shashi
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);
Penis
A predefined function can reverse a string as shown below:echo strrev('pizza'); // outputs: azzip
Yes.
Not possible through html. Use php strrev function. For eg:
By writing user defined function.
ALGORITHM REVERSEINPUT (string)"STRINGLENGTH() would be a function that returns the lenght of the string"FOR (i = STRINGLENGTH(string); i >= 0; i--) BEGINDISPAY (string[i])END FOREND REVERSE
To reverse a string in Perl, you can use the reverse function along with split to break the string into individual characters, and then join them back together. Here’s a simple example: my $string = "Hello, World!"; my $reversed = join('', reverse split('', $string)); print $reversed; # Output: !dlroW ,olleH This code splits the string into characters, reverses the list of characters, and then joins them back into a single string.
//This function reverse any given string, except nullstatic string Reverse(string s) {char[] temp = s.ToCharArray();Array.Reverse(temp);return new string(temp);}//The main usagestring inputString = Console.ReadLine();Console.WriteLine(Reverse(inputString));
Use "+". Example: String string = "does this answer " + "your question?";
You can create a separate string initially empty. Then using a loop, start at the end of the string and add it to the end of the other string. At the end of the loop, the other string would contain the reverse.
The use of the reverse string in C program is used to reverse the letters in the string. An example would be reverse me would be reversed to em esrever.