using KopiLua; // create a new CharPtr for string "hello" CharPtr str = CharPtr.New("hello"); // increment the CharPtr by 2 str = CharPtr.incr(str, 2);In this example, we create a new CharPtr for the string "hello" using the CharPtr.New() method. We then use the CharPtr.inc() method to increment the pointer by 2, effectively skipping the first two characters of the string. Package library: KopiLua.