We are using JPython in one of our products. Infact we have just started using this.

I am really stuck at one place :-(

My requirement is to get first 10 characters from a given string A. Does this language have some built-in function (like strncpy()/ string.substring() etc) to do so?

Also, could you please provide some generic API which we can use?

Thanks and Regards,