NSIS/Docs/src/string.but
rainwater 306ef235aa Docs updates. More to come.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1050 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-19 16:31:22 +00:00

13 lines
714 B
Text

\H{stringinst} String Manipulation Instructions
\S{StrCpy} StrCpy
StrCpy \e{user_var(destination) str [maxlen] [start_offset]}
Sets the user variable $x with str. Note that str can contain other variables, or the user variable being set (concatenating strings this way is possible, etc). If maxlen is specified, the string will be a maximum of maxlen characters (if maxlen is negative, the string will be truncated abs(maxlen) characters from the end). If start_offset is specified, the source is offset by it (if start_offset is negative, it will start abs(start_offset) from the end of the string).
\S{StrLen} StrLen
StrLen \e{user_var(length output) str}
Sets user variable $x with the length of str.