danielsgroves Posted March 19, 2013 Share Posted March 19, 2013 (edited) Whats the general consensus for dealing with multiple inputs? Is it possible to do something along the lines of: {query}[0] {query}[1] to get space-separated input parameters? Or do I need to do something more like: $vars = explode({query}, ' '); How do others normally deal with this? Edited March 19, 2013 by danielsgroves Link to comment
jdfwarrior Posted March 19, 2013 Share Posted March 19, 2013 Whats the general consensus for dealing with multiple inputs? Is it possible to do something along the lines of: {query}[0] {query}[1] to get space-separated input parameters? Or do I need to do something more like: $vars = explode({query}, ' '); How do others normally deal with this? Daniel! What up dude? Yeah man it all comes across as one big string so you'd have to split it yourself using explode or the equivalent for whatever language you want to use. Link to comment
danielsgroves Posted March 20, 2013 Author Share Posted March 20, 2013 Sweet, thats what I thought. Cheers mate! Got a couple of quick workflows to write to make life a little easier now ;-) Link to comment
jdfwarrior Posted March 20, 2013 Share Posted March 20, 2013 Sweet, thats what I thought. Cheers mate! Got a couple of quick workflows to write to make life a little easier now ;-) Awesome. Be sure to post them in the Share Your Workflows area for the rest of us too Let me know if you need any more help. Link to comment
danielsgroves Posted March 22, 2013 Author Share Posted March 22, 2013 Ah don't worry I'll always share everything I just wanna stick a blog post together to document them properly then I'll get them uploaded. Should be able to do it this weekend at some point. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now