English
Source / code snippets

Api designed one last Space Shlwapidll Zeichens

 

Source watts on the 15.07.2007 from the MMJ-Quellcodesammlung (Dietmar horn) in The Babyklappe on XProfan.Com stored:
API: SHLWAPI.DLL - last Space one designed Zeichens in the String give back
gives whom last Space one Zeichens in the String back
Author Dieter Zornow
DEF StrRChr(3) ! shlwapi,StrRChrA case
DEF StrRChrI(3) ! shlwapi,StrRChrIA hardship case

Proc GetlastPlace

    parameters beSearch$,range&,searchfor$,sens%
    Declare place&,temp$
    case sens% = 0:place& = StrRChrI(addr(besearch$),range&,Ord(left$(searchfor$,1))) hardship case-sensitive
    case sens% = 1:place& = StrRChr(addr(besearch$),range&,Ord(left$(searchfor$,1))) case-sensitive

    if place& <> 0

        temp$ = string $(place&,0)
        place&= len(beSearch$) - len(temp$)+1

    endif

    return place&

endproc

cls
Print GetlastPlace(C:WindowsWin.ini,0,w,1)
waitinput
 
07/15/07  
 



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.058 Views

Untitledvor 0 min.
Christian Hahn07/05/13

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