Skip to main content
18 events
when toggle format what by license comment
Jun 15, 2015 at 20:48 history closed Kuba
dr.blochwave
MarcoB
Sjoerd C. de Vries
Dr. belisarius
Needs details or clarity
Jun 15, 2015 at 12:40 comment added J. M.'s missing motivation "Holy #@!& you're right, I just had to type it in!" - it's a nice thing about Mathematica, you can just try things since you're free to do so. :)
Jun 15, 2015 at 12:33 history edited m_goldberg CC BY-SA 3.0
Improved formatting
Jun 15, 2015 at 9:26 review Close votes
Jun 15, 2015 at 20:48
Jun 15, 2015 at 9:06 comment added Kuba And where are those strings you are talking about in the title?
Jun 15, 2015 at 9:05 answer added ubpdqn timeline score: 1
Jun 15, 2015 at 9:03 comment added Szabolcs @TravisArlenMcCracken Have you looked at the formatting help that I suggested? You need to put it in a code block to keep code intact (and prevent all that bold and italic, etc.) It's easier if you look at the help page than if we try to squeeze all that formatting info in a comment ...
Jun 15, 2015 at 8:41 comment added Travis Arlen McCracken @ciao Holy #@!& you're right, I just had to type it in! Here I was all going to the online guide for it and complicating things like an idiot hahah. Went to ( reference.wolfram.com/language/DatabaseLink/tutorial/… ). Thanks so much, this is all I needed. Ugh sorry to waste your time, I've all I need now!
Jun 15, 2015 at 8:39 comment added ciao @TravisArlenMcCracken: "Having trouble implementing it"? What does that mean? Simply enter Column[matches] and evaluate it - it gives each set on its own line - is that not what you're after?
Jun 15, 2015 at 8:36 comment added Travis Arlen McCracken @ciao Column[matches] isn't unsatisfactory per se, I'm just not having luck implementing it. I'm a complete novice to mathematica. I'd be fine with that I suppose if I could get it to work, though \n sounds simple enough.
Jun 15, 2015 at 8:35 comment added ciao @TravisArlenMcCracken: As I've already asked in your prior question comments what is unsatisfactory about Column[matches]? And please, do not post screen-shots when proper code insertion could be used - read the help for editing and how to do this...
Jun 15, 2015 at 8:34 comment added Travis Arlen McCracken @Szabolcs Okay I pasted the code it into the problem description, but some of the formatting and text like _ (underscore) was lost in translation somehow, and apparently part of it became bold (?); copying it over back into Mathematica makes it glitch up, so I attached a screenshot of it in the program itself so it's easy to sort out what's not right when you copy it over. Just need every the 7th comma replaced with \n
Jun 15, 2015 at 8:29 history edited Travis Arlen McCracken CC BY-SA 3.0
Included example code
Jun 15, 2015 at 8:21 comment added Szabolcs @TravisArlenMcCracken This sort of information should be edited into the main question instead of comments. Use the edit link below the question and make sure to put any code in code blocks. Formatting help is available by clicking the (?) button during editing.
Jun 15, 2015 at 8:19 comment added Travis Arlen McCracken Want every 7th comma replaced with a \n to break into a new line instead of wrapping endlessly across the page
Jun 15, 2015 at 8:13 comment added Yves Klett Please supply sample string in/output. This will make understanding your question so much easier.
Jun 15, 2015 at 8:12 comment added Szabolcs Use StringSplit to break at commas, the Partition to partition into groups of 7 (read the doc on how not to drop the remaining elements not a multiple of 7), finally use StringRiffle to assemble the subgroups, then the whole list, with appropriate separators at each level. Also looks up @@@, Apply and pure functions, to write the same thing more compactly.
Jun 15, 2015 at 8:10 history asked Travis Arlen McCracken CC BY-SA 3.0