This method retrieves the string at the specified offset.

@param offset Offset into var data
@return String value
2591
public String getUnicodeString(int offset)
   {
      String result = null;
      byte[] data = getByteArray(offset);
      if (data != null)
      {
         result = MPPUtility.getUnicodeString(data, 0);
      }

      return (result);
   }
861242
public function offsetGet($offset)
    {
        if (isset($this->values[$offset])) {
            return $this->values[$offset];
        }

        return null;
    }
1004168
protected function computeOffset($offset)
    {
        $length = \mb_strlen($this->_string);

        if (0 > $offset) {
            $offset = -$offset % $length;

            if (0 !== $offset) {
                $offset = $length - $offset;
            }
        } elseif ($offset >= $length) {
            $offset %= $length;
        }

        return $offset;
    }
167397
@SuppressWarnings("unchecked")
  public String getString(String name) {
    return ((Value<String>) getValue(name)).get();
  }
661262
@SuppressWarnings("unchecked")
    public <T> T getValue(final String variableName) {
        final Variable variable = getVariable(variableName);
        return (variable == null) ? null : (T) variable.getValue();
    }
730998
public function offsetGet($offset) {
    if (is_string($offset)) {
      // To deal with php allowing function test($a, $a) loop in reverse.
      foreach (array_reverse($this->nodes) as $node) {
        if ($node instanceof ParameterNode) {
          if ($node->getName() === $offset) {
            return $node;
          }
        }
      }
      return NULL;
    }
    return parent::offsetGet($offset);
  }
737789
protected String getString(byte[] data, int offset, int length) {
        return new String(data, offset, length, CS_WIN1252);
    }
547424
public function offsetGet($offset)
    {
        if ($this->gettersVariable) {
            $var = $this->gettersVariable;

            return $this->{$var}[$offset] ?? null;
        }

        return $this->{$offset} ?? null;
    }
853799
public function offsetGet($offset) {
        $offset = strtolower($offset);
        return array_key_exists($offset, $this->options) ? $this->options[$offset] : self::NONE;
    }
331648
public function offsetGet ($offset) {
        return isset($this->data[$offset]) ? $this->data[$offset] : NULL;
    }
268120
public function offsetGet($offset)
    {
        // Get name of the method, the class should have. Like "getText"
        $method = Text::camelCase("get $offset");

        // If it exists, call it and return its return value
        if (method_exists($this, $method)) {
            return $this->{$method}();
        }

        // If not return the data from the array after checking it is set
        return isset($this->container[$offset]) ? $this->container[$offset] : null;
    }
330337
function readVarInt (buffer, offset) {
  const result = varuint.decode(buffer, offset);

  return {
    number: result,
    size: varuint.decode.bytes
  };
}
132194
public Long getOffset() {
    String offsetFromRequest =
        uriInfo.getQueryParameters().getFirst(OffsetParameter.getDefaultOffsetFieldName());

    return offsetFromRequest != null ? new OffsetParameter(offsetFromRequest).getValue()
        : OffsetParameter.getDefaultOffset();
  }
532390
public function &offsetGet($offset)
    {
        self::validateOffset($offset);
        $this->existsOrFail($offset);
        return $this->data[$offset];
    }
1196034
def get_string(self, offset, length):
        
        return struct.unpack(str(length) + "s", self.data[
                                                offset:offset + length
                                                ])[0]
396032
public static String getString(ByteBuffer buf, int offset, int length, Charset encoding) {
        buf = buf.duplicate();
        buf.position(buf.position() + offset);
        if (buf.hasArray()) {
            return new String(buf.array(), buf.arrayOffset() + buf.position(), length, encoding);
        } else {
            byte[] bytes = new byte[length];
            buf.get(bytes);
            return new String(bytes, encoding);
        }
    }
701689
public String getString (int index) {
        Object object = getObject (index);
        try {
            return (String) object;
        } catch (ClassCastException exception) {
            log.warn ("Cannot cast value type (" + object.getClass ().getName () + ") to String for index (" + index + ")");
        }
        return null;
    }