Function loadTextResource

load text resource

string loadTextResource(
  string resourceId
);