LISP program to perform the string operations
kw.lisp
Output
kodingwindow@kw:~$ clisp kw.lisp ——————————————————————————————————————————— Program to perform the string operations ——————————————————————————————————————————— Enter the 1st string HELLO Enter the 2nd string WORLD Entered S1 S2 | HELLO WORLD Reverse S1 S2 | OLLEH DLROW Length S1 S2 | 5 5 Uppercase S1 | HELLO WORLD Lowercase S1 | hello world Togalcase S1 | Hello World Concatination | HELLOWORLD Comparision | NIL Subsequence 0 | HELLO WORLD Character at 0 | H W ——————————————————————————————————————————— kodingwindow@kw:~$
Advertisement