Skip to content
⌘ NSIS Forum Archive

indexOf Function

2 posts

rainwater#

indexOf Function

I do not see a way to do string searches for substrings. Given there is a StrCpy function, I would find is usefull for a indexOf function so that I could do string manipulations. Is there a way to do this now?

What I want to do is convert the string:
C:\Program Files\xxxxx
to:
C:/Program Files/xxxxx

Any ideas?
rainwater#
I guess I answered my own question. I suppose I can use strcpy to copy each character at a time and do a string compare. It was just a bit more hassle than I was hoping for.