I want to make an expression that would if put into code print the first char of first then a period followed by the first char of second and so on till third.
first.substring(0, 1) + "." + second.substring(0, 1) + "." + third.substring(0, 1)
You could try using the charAt method.
first.charAt(0) should return the first character in first.
Or first, second, and third might not be defined in the context, be sure that you are using the same variable names and casing for them as the website expects.
using string concatenation print the first char of first followed by a period, then the first char of second followed by a period, then the first char of third followed by a period. So if first=guy, second=person, third=thing it would print g.p.t
first.charAt(0)+"."+second.charAt(0)+"."+third.charAt(0);
charAt(0)??
charAtinstead?