duebel13 Posted April 14, 2005 Report Share Posted April 14, 2005 I have a combo box which contains the resolution of a photo, for example "1024x768" So far I figured out how to get this into a string variable: Variable Get Control Text: %C1% to %T1% How do I split and convert this string into two integer variables so that %N1%=1024 and %N2%=768? I think I cannot use the command Variable Modify String / Copy Part of Text because the Starting Position has to be specified. Is there something analog to the strchr() or strstr() function in C? I.e. a macro that gives me the offset of a character (or string) in a string. It should be obvious that the size of photos varies so that the position of the x is unknown in advance. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.