English
Opportunities and suggestions

wish: DelSubstr$

 

Julian
Schmidt
wish: commands circa a Teilstring To delete

passing Solution:
CLS
print "String: 1,2,3,4,5,6,7,8,9"
print "Teilstring 8 löschen"
print "Ergebnis: "+DelSubStr("1,2,3,4,5,6,7,8,9",8,",")
Waitinput

Proc DelSubStr

    Parameters Text$,Teil&,Trenn$
    Declare Text2$

    whileloop Len(Text$,Trenn$)

        Text2$=Text2$+If((&loop<>If(Teil&<>1,1,2)) and (&loop<>Teil&),Trenn$,"")+If(&loop<>Teil&,SubStr$(Text$,&loop,Trenn$),"")

    Endwhile

    Return Text2$

ENDPROC

 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
08/08/12  
 




RGH
Hi,
the can still schonj The function Del$:
print "Ergebnis: "+Del$("1,2,3,4,5,6,7,8,9",8,1,",")

tappt im dunkeln can even a little bit More, there too several Teilstrings deleted go can.

Greeting
Roland
 
XProfan X2
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/01/13  
 




Julian
Schmidt
is correct!

RGH (01.01.13)
tappt im dunkeln can even a little bit More, there too several Teilstrings deleted go can.


won't in the Help erwähnt. example?
 
XProfan X2
Win7 Professional, SP1, AMD FX(tm)-8350 Eight-Core Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
01/01/13  
 




Jörg
Sellmeyer

example?

print "Ergebnis: "+Del$("1,2,3,4,5,6,7,8,9",6,2,",")
WaitInput
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
01/01/13  
 




RGH
in the first becomes it in the Help erwähnt and secondly is the dritte Parameter The Number of characters or. Teilstrings, The removes go!

Quote from the Help:
"If one Separator indicated is:
ex the Teilstring-position n1 go n2 Teilstrings from the String removes."

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/01/13  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

6.235 Views

Untitledvor 0 min.
Lefty10/23/19
Jörg Sellmeyer05/15/18
Julian Schmidt07/15/14
Georg Teles05/20/14
More...

Themeninformationen



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