Category "text"

Find matching phrases of at least 5 words or longer between two texts in R

I have two vectors of text that I want to compare to identify any phrases that are at least 5 words long that are common between the two. Some example text with

SwiftUI text field orphan on macOS

I have a text field like this Text("Hello, one two three four five six seven eight!") .frame(width:270) .border(.blue) When it

c# how to add Button to array and set text of all buttons

Hi my problem is i want to add buttons to array size: 65 and there is a problem here's my code: Button[] buttonsa = new Button[65]; for (int d = 0; d <= but

How do I count the amount of lines (products) after a certain keyword?

I am trying to create a dataframe from all receipts of a supermarket. However, I cant seem to get the 'count' of the amount of items in a particular receipt. Ex

Validate user input with data in .txt file

I have searched and searched and tried everything. I am creating a game where the user will input a pre-assigned pin and I want to validate that pin against a

Remove "." from digits

I have a string in the following way = "lmn abc 4.0mg 3.50 mg over 12 days. Standing nebs." I want to convert it into : "lmn abc 40mg 350 mg over 12 days. St

How to get the string content of text() widgets and give the styling below image shown in flutter

I want this type of output using single Text() widget I am getting data from Api and i get gender from it so i just want to highlight that value by bold it on w

Add text annotations at consistent locations in facet_grid when scale = 'free_y' + ggplot2 + r

I need to annotate a set of chats in a facet grid where the y axis is scale is set to scale = 'free_y'. As the scales are very different, when I set the y posit

bracket pair can't match in mac vscode txt file

I want to highlight and jump(command+shift+\) between the bracket pair in text file just like in json files and other format files. Please help me,thx! And th

Export multiple .csv files into .txt files in one go

I have multiple .csv files with different names like ATUL.csv, ISEC.csv, XYZ.csv and so on... Every file has similar data format mentioned below: datetime

How To Chanage OpenXml Wordprocessing Text Direction?

I'm trying to open a word document and change its text direction to correct ones, here : IEnumerable<DocumentFormat.OpenXml.Wordprocessing.Text> texts = d

How to shift a specific cell left in a text file

I have a very large text file (tab-delimited, first line is header) like this: A1 A2 A3 A4 A5 A6 A7 FA1 AB 234 231 0.02 456 I FA2 ACE 241 2154

How to return a word from between nth comma and n+1 th comma?

I want to extract a word from text which is separated by commas. This is one of the data from users. 117573,117573,219,219,75,75,Messi,barcelona,53780217,forwa

Tappable portions within a string for SwiftUI

I'm trying to add tappable segments to a Text and I have most of it but I cannot make an array of Texts with .onTapGestures. How can I add the tap gestures to

Dynamically shorten text to avoid ellipsizes in jetpack compose

I'm looking to implement a calendar-like application including a day-detail screen in Jetpack Compose. This screen has a TopAppBar, in which i'd like to show th

Read line on Txt after specific text VB.NET

I have the following text on my notepad: Manufacture, a, b, c Manufacture, h, i, j Supplier, 7, 8, 9 Manufacture, x, y, z Supplier, 0,9,5 Then I have a form th

Match timestamps in WebVTT files with sed

I have the following PCRE2 regex that works to match and remove timestamp lines in a .webVTT subtitle file (the default for YouTube): ^[0-9].:[0-9].:[0-9].+$ T

Splitting a Rust string into a Vec of its substrings with contiguous identical characters

I have a string or a &str of ASCII characters and I want to separate it into a Vec of all substrings with contiguous identical characters (for example, "aab

How to access just the changed data of an 'input' event regardless of text deletion or insertion like pasted or typed or restored text for the latter?

I have a textarea and would like to return the most recent change to the text for use in avia JavaScript function. That would include: Text that is input via ke

find exact match with grep

I am attempting to take a fairly large dataframe of comments from a survey and use grep to identify comments that contain one of a list of keywords index <-