VBScript to perform the string operations
kw.vbs
Output
Original String: Hello World Length: 11 Lower Case: hello world Upper Case: HELLO WORLD Left: Hell Right: orld Mid: lo Wo Replace: Hello Friends Original String: Hello World Replace: Hello World Replace: HeLLo WorLd Reverse: dlroW olleH
Example 2
kw.vbs
Output
Position 7 Reverse Position 15 Strings Are Not Equal HELLO WORLD \0 HELLO WORLD \0 HELLO WORLD\0 HELLO WORLD\0 hello world
What Next?
VBScript to demonstrate the use of Array
VBScript to sort the Array elements using Bubble sort
VBScript implementation of Fibonacci series
Advertisement