English
Forum

Reguläre expressions

 

H.Brill
white someone, as System-Variables $Match, %MatchPos, %MatchLen
with Translate$() To behandlen are ?
loudly Help should these Yes sowohl with InStr() as well as with Translate$()
staid go.

with InStr() works the too, but with Translate$() shine these
not staid To go. there Translate$() Yes rekursiv operates, should
$Match etc. Yes in the function Translate$() yourself each Fund
staid go.

here an example, circa dopplete characters
auszufiltern and To supplant.
CompileMarkSeparation
Declare a$, b$, d&
Set("RegEx", 1)
// Hier mit InStr//
d& = 1
a$ = "abcdefgghijklmnnoopqrstuvwxyzz"

While InStr("(.)~1+", a$, d&) > 0

    If $Match <> ""

        d& = %MatchPos
        Print $Match
        a$ = Translate$(a$, $Match, Right$($Match, 1))

    EndIf

EndWhile

Print a$
Print "Jetzt mit Translate$()  TASTE DRÜCKEN...."
Waitkey
// hier mit Translate$() //
Print Translate$("abcdefgghijklmnoopqrstuvwwwxyzz", "(.)~1+", Left$($Match, 1))
Waitkey
End
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
07/10/14  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.447 Views

Untitledvor 0 min.
H.Brill06/12/24
Andre Rohland09/08/18
boh112/12/15
Michael W.07/01/15
More...

Themeninformationen

this Topic has 1 subscriber:

H.Brill (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