English
Source / code snippets

Furi

 

string furi(string s){

    return "file:///"+translate $(translate $(s,"\\","/"),"//","/")

}

 
11/06/12  
 




Michael
W.
this is then Translated and example
Proc fURI

    Parameters s$
    Declare x%

    If Left$(Lower$(s$),5) = "file:"

        x% = 5 : While Mid$(s$,x% + 1,1) = "/" : Inc x% : EndWhile
        s$ = Right$(s$,Len(s$) - x%)

    EndIf

    Return "file:///"+translate $(translate $(s$,"\\","/"),"//","/")

ENDPROC

cls
print fURI("file:///c:/way/File.txt")
print fURI("c:/way/File.txt")
waitkey
end
 
XProfan X3
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
12/31/14  
 



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

5.328 Views

Untitledvor 0 min.
p.specht11/20/21
Uwe Lang11/20/21
Manfred Barei11/19/21
Wilfried Friebe11/17/21
More...

Themeninformationen

this Topic has 2 subscriber:

Michael W. (1x)
iF (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