Syntax string .substr(start,length) Parameter Description start Required. The index where to start the extraction. First character is at index 0 length Optional. The number of characters to extract. If omitted, it extracts the rest of the string Example Example Extract characters from a string: The output of the code above will be: v vR
Free tutorials, courses, generative tools, and projects built with Javascript, PHP, Android, Python, ML, AI, VR, ChatGPT, .Net, C#, Java, Microsoft, Kotlin, Youtube, Github Code Download and more.