String methods in JavaScript Examples of inbuilt string methods, or functions, that are used for manipulating string data.