Start Info Community Spielen
 
 

Morgengrauner Dokumentation

Dateipfad: /home/mud/mudlib/doc/efun/strrstr

SYNOPSIS
        int strrstr(string str, string str2)
        int strrstr(string str, string str2, int pos)
        int strrstr(bytes  str, bytes  str2)
        int strrstr(bytes  str, bytes  str2, int pos)

DESCRIPTION
        Returns the index of the first occurance of  in  searching
        from position  (default: -1 == string end) on backward.
        In other words: the index of the last occurance of  before
        the given position .

        The returned index is relativ to the beginning of the string.

        If  is not found in , -1 is returned.

        If  is negativ, it designates the start position relative
        to the end of the string (the search will still proceed towards
        the beginning of the string).

HISTORY
        Introduced in LDMud 3.2.10.

SEE ALSO
        strstr(E), strlen(E), sscanf(E), sprintf(E), explode(E)


zurück zur Übersicht

YOUTUBE | FACEBOOK | TWITTER | DISCORD | FEEDBACK | IMPRESSUM | DATENSCHUTZ 1992–2023 © MorgenGrauen.