How to use GDScriptInstance for creating a GDScript from string in C++

Godot Version

4.4-dev4

Question

I’m trying to create a GDScript from a string in C++ and can’t find an example online on how to use GDScriptInstance. Any advice is appreciated. Thanks in advance!