Adding last three character of a string at both front and back of string

 public class AddLastThreeLetter{

public static void main(String args[]){
String str = "Python";

String subpart = str.substring(str.length()-3);
System.out.println(subpart+str+subpart);
}
}

Google Script for Data Entry Form in Google Spreadsheet

// function to validate the entry made by user in user form function validateEntry (){ // declare a variable and referernece of active goog...