Do you fear that Google "AI Mode" will be the default option in Google ? Digital Media Digital Marketing by jkon … easily digestible text, provide detailed use cases (and limitations) in paragraphs of text, and much more. Even if a business were… Re: Do you fear that Google "AI Mode" will be the default option in Google ? Digital Media Digital Marketing by Reverend Jim I have no problem with the AI summary I get from Google after a search as long as I can scroll past it to get to the meat. Sometimes the summary is the answer I wanted. Interestingly enough, you can ask a question two ways. One gets the AI summary and the other does not. 1. why does my doctor check my peripheral vision 2. Why does my f***ing … Re: Do you fear that Google "AI Mode" will be the default option in Google ? Digital Media Digital Marketing by jkon Great Reverend Jim , but I am not talking about "AI Overviews" that is an issue but small compared to "AI Mode" which is a new option rolled in US for now that lets AI search for you and reference a few (usually three) or none real links . Lets have Google Gemini summarize what "AI mode" is '''Google "AI Mode&… Paragraphs problem Programming Web Development by aaloo …, after click on the links.** I want to get same paragraphs without being combined ,how i can do that ?? Reading paragraphs in VB.net Programming Software Development by StuartMillner I am writing a program that reads paragraphs from a word document and puts them …by paragraph basis. The program registers all of the paragraphs in the document as well, but when I …String Try Dim x As Microsoft.Office.Interop.Word.Paragraphs Return x(paragraphnumber).Range.Text Catch e As Exception… Re: Reading paragraphs in VB.net Programming Software Development by kvprajapati [code=vb.net] Public Function getParagraph() As String Try Return document.Paragraphs(paragraphnumber).Range.Text Catch e As Exception MessageBox.Show(e.ToString) End Try End Function [/code] Re: Reading paragraphs in VB.net Programming Software Development by StuartMillner …=vb.net] Public Function getParagraph() As String Try Return document.Paragraphs(paragraphnumber).Range.Text Catch e As Exception MessageBox.Show(e… Re: Reading paragraphs in VB.net Programming Software Development by StuartMillner …, and boy do I feel stupid. The index of the paragraphs() array starts at 1, while I was trying to access… Correcting Line Breaks Within Paragraphs Programming Databases by magicmarkuk … number of posts I have a problem with the way paragraphs are being displayed and I can trace this back to… table - column post_content to remove these line breaks from within paragraphs i.e. where there is a <p> and… wrapping html paragraphs inside div Programming Web Development by softDeveloper Hi! I am trying to wrap some html paragraphs inside a div element: <p>1st paragraph</…> </div> and, in case I select 2 paragraphs and a half, the div woud end before </p… Re: how to count paragraphs from a text file. Programming Software Development by Ancient Dragon … paragraph from another? There is no standard way to separate paragraphs like there is to separate lines. So your first task…. Counting the number of '\n's is counting lines, not paragraphs. So you will have to think up something else or… Re: how to count paragraphs from a text file. Programming Software Development by WolfPack … paragraph from another? There is no standard way to separate paragraphs like there is to separate lines. So your first task…. Counting the number of '\n's is counting lines, not paragraphs. So you will have to think up something else or… how to count paragraphs from a text file. Programming Software Development by Bozog … c program but when coming to count the number of paragraphs in the text i can't find what i have… Trying to indent paragraphs Programming Web Development by mark2326l …] That worked but my editor wants indents not spaces between paragraphs. I thought [CODE]function test($text) { $text = ereg_replace("\n… Displaying Paragraphs from Mysql Programming Web Development by veledrom Hi, Data is stored like this in Varchar(2500) (with paragraphs): [code] Looking for NET developer, programmer. Required skills: VB.NET … Keeping Paragraphs using TextArea with AJAX Programming Web Development by Vanq69 … cant seem to work out a way to keep my paragraphs when using a text area as part of a form… newlines disappear when posting paragraphs to webform via mechanize Programming Software Development by gorbulas …, all the newlines have disappeared and it makes all the paragraphs all block up together into one long sentence. But when… Re: how to count paragraphs from a text file. Programming Software Development by Martin B You don't actually need to read in lines to count the paragraphs. You can read using fread and look for double CR/LFs. Note that you'll need to look for 0x0D and 0x0A, because '\n' won't work correctly with fread on Windows. get paragraphs which text is selected Programming Web Development by softDeveloper Hi! Do you know how to get elements which text is selected my mouse? e.g.: Several paragraphs in a html file. You select text with your mouse, and you get all "p" elements which have parts of the selected text. Regards Texts without Paragraphs in Php/mysql Programming Web Development by omoayan I have a site where I upload data into mysql database. When I upload my text, it is just the way it was uploaded in mysql, but when I call for the text upload, in my php page, there are no paragraphs. Everything is just muddled up. what could be the solution? Re: Paragraphs problem Programming Web Development by diafol do this : echo nl2br($post); Re: Reading paragraphs in VB.net Programming Software Development by kvprajapati Call methods in following order: [code=vb.net] Dim wd as New WordDocInfo wd.nameinfo="file.doc" wd.setwordDoc() Dim s as string = ws.getParagraph() [/code] Re: Reading paragraphs in VB.net Programming Software Development by StuartMillner That's the way the methods are called inherently. When declaring a new instance of WordDocInfo it assigns a file name and calls setwordDoc() internally, it is a private method so it can't be called outside of the class. The getparagraph function is then called after these things have been executed. I checked that as well to make sure I wasn't … Re: Correcting Line Breaks Within Paragraphs Programming Databases by smantscheff MySQL does not come with regular expression search/replace functions. Therefore you will either have to write a MySQL function which does the following: - find a <p> in the text; - find the matching </p> thereafter; - replace all line breaks in between by spaces. Or you write a piece of PHP code (or some other script language) which … Re: Correcting Line Breaks Within Paragraphs Programming Databases by magicmarkuk Thank you - I have used EditPlus and replaced instances of \r\n with a space and it seems to have worked. Don't know why I didn't think of that myself. Regards Mark Re: wrapping html paragraphs inside div Programming Web Development by Taywin Could we see your script? Not sure how you did it. By the way, when you do the selection, did you attempt to check the DOM for parent/neighbor nodes instead of only the text selection? Re: wrapping html paragraphs inside div Programming Web Development by ko ko In jQuery, you can use $('p').wrap('div'). Anyway, post more details to get more implementation. Re: how to count paragraphs from a text file. Programming Software Development by Comrade Ogilvy Using [url=http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1049157810&id=1043284351]gets[/url] is a very bad idea; use [url=http://www.cppreference.com/stdio/fgets.html]fgets[/url] instead, both to read in the filename from stdin and to read the opened file a line at a time. If the length of a line read by fgets is one then it's a new … Re: how to count paragraphs from a text file. Programming Software Development by invisal Getting a string line by line. If any line contains more than 20 characters, increase the counter. In this way, we can avoid counting a empty line because some people like to leave some empty lines to seperate one paragraph. Re: how to count paragraphs from a text file. Programming Software Development by WaltP Hey guys, the OP said [QUOTE=Bozog;506450]i can't find what i have to do so that my c program increments my counter by 1 [B]it has to find and empty line[/B].[/QUOTE] The definition of a paragraph is not ambiguous. He defined it.