Documentation home / Native Module API
Native Module API
String Utilities
Case conversion, whitespace trimming and common string predicates.
Purpose
Case conversion, whitespace trimming and common string predicates.
Exported API
| Export | Role |
|---|---|
lower | lower native function or exported value |
upper | upper native function or exported value |
trim | trim native function or exported value |
contains | contains native function or exported value |
starts_with | starts with native function or exported value |
ends_with | ends with native function or exported value |
Usage example
import gs_string;
define value = " greenServeFE ";
print(gs_string.trim(value));
print(gs_string.upper("gsve"));
print(gs_string.starts_with("greenServeFE", "green"));String helpers operate on native strings and return values through the VM native API.
