console.WriteLine("Please choose a string funtion: C = compare, CT = concat, E = equals, IO = index of, I = insert, R = remove, RP = replace, L = ToLower, U = ToUpper, T = trim, TE = TrimEnd, TS = TrimStart")
strstring = console.ReadLine()
console.WriteLine("Please enter your first word:")
strA = console.ReadLine()
console.WriteLine("Please enter a letter in the word above and find out it's index number")
strB = console.ReadLine()
intIndex = strA.IndexOf(strB)
console.WriteLine("the index number of " & strB & " is " & intIndex)
elseif strstring = "C" then
console.WriteLine("enter your first word here: ")
strA = console.ReadLine()
console.WriteLine("enter your second word here: ")
strB = console.ReadLine()
if String.Compare(strA, strB) = 0 then
console.WriteLine(strA & " is equal to " & strB)
elseif string.Compare(strA, strB) < 0 then
console.WriteLine(strA & " comes before " & strB)
elseif string.Compare(strA, strB) > 0 then
console.WriteLine(strA & " comes after " & strB)
else if strstring = "CT" then
console.WriteLine("enter your first word here:")
strA = console.ReadLine()
console.WriteLine("enter your second word here:")
strB = console.ReadLine()
console.WriteLine(string.Concat(strA, strB))
else if strstring = "E" then
console.WriteLine("enter your first word here:")
strA = console.ReadLine()
console.WriteLine("enter your second word here:")
strB = console.ReadLine()
if strA.Equals(strB) then
console.WriteLine("the strings are the same.")
else console.WriteLine("the strings are different.")
else if strstring = "I" then
console.WriteLine("enter your first word here:")
strA = console.ReadLine()
console.WriteLine("enter the letter you want to insert:")
strinsert = console.ReadLine()
console.WriteLine("enter the index place:")
intinsert = console.ReadLine()
console.WriteLine(strA.Insert(intinsert, strinsert))