Archive: Left string


Left string
Hello "group"

I have a string and I only want the first letter (cd rom drive)

can you help me ?

Thx !


See StrCpy extra parameters:


Section "-default"
DetailPrint "If this is your current directory:"
DetailPrint $EXEDIR
DetailPrint "Then, this is its drive letter:"
StrCpy $0 $EXEDIR 3 0
#3 is how many chars will be copy, and 0 the begining of the string
DetailPrint $0
SectionEnd

Thx !