English
Source / code snippets

search function council right String

 
function RAT, a String of right to left search:

From Michael Wodrich could I following Profan 5.0 kompatible procedure in the Profan-Forum aufgreifen, what about me find these must in of my collection not are missing.
CompileMarkSeparation
Proc rat

    Parameters Suche$,Quelle$
    Declare sLen%,qLen%,i%,erg%
    Let sLen% = @Len(Suche$)
    Let qLen% = @Len(Quelle$)

    If @And(@And(@GT(sLen%,0),@GT(qLen%,0)),@Not(@GT(sLen%,qLen%)))

        Let i% = @Add(@Sub(qLen%,sLen%),1)

        While @GT(i%,0)

            IfNot @Equ$(Mid$(Quelle$,i%,sLen%),Suche$)

                Let i% = i% - 1

            Else

                Let erg% = i%
                Let i% = 0

            EndIf

        EndWhile

    EndIf

    Return erg%

ENDPROC

 
04/19/04  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.319 Views

Untitledvor 0 min.
RudiB.04/26/22
Ostfriesenjack08/11/21
PETER195607/18/18
Christian Hahn12/28/12
More...

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie