Home > api > name > gb_string 
 fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
GB_STRING
Syntax
typedef
  struct {
    GB_TYPE type;
    struct {
      char *addr;
      long start;
      long len;
      } value;
    }
  GB_STRING;

This structure represents a String Gambas value.

The string is not always terminated by a zero character. You must use the STRING and LENGTH macro to access a method string argument. If you need a null-terminated string, you can use the GB.ToZeroString function.

See also

Gambas Value Datatype  STRING  LENGTH  GB.ToZeroString