Questions tagged [delimiter]

A delimiter is a sequence of one or more characters used to specify the boundary between separate, independent regions in plain text or other data streams.

A delimiter (Wikipedia) is a sequence of one or more characters used to specify the boundary between separate, independent regions in plain text or other data streams. An example of a delimiter is the comma character, which acts as a field delimiter in a sequence of comma-separated values.

See also:

3001 questions
0
votes
0 answers

Remove 1st and last character from file content in list imput

I'm trying to get the start and end quotes from items "1st name and 8th name" removed from following outputs: A random Draw: 3rd name 7th name 5th name "1st name An other random Draw: 7th name 8th name" 6th name 3rd name Screenshot: My…
Lod
  • 657
  • 1
  • 9
  • 30
0
votes
1 answer

How to use a none delimiter with csv.writer?

I'm creating a discord bot in python and I want to have a log system for the warn command. To set up this, I'm using a .csv file in which I write all the information I want about a user. It's the first time I use .csv, so to manipulate the data, I…
0
votes
0 answers

How to split the multiple values assigned to a single key of properties file in shell script?

Ex:- service=cotp,botp,potp The above value of service is located in a properties file, If I search for the key in the ".sh" file, the values of the 'service' key the values should be printed separately. Ex:- cotp botp potp I tried to split the…
0
votes
1 answer

Power Automate - Split String by ONE delimeter and ignore any other delimiters that may be found

I have created a flow in Power Automate that when a new email is received it converts the body of the email from HTML to text and then a formula to split the text using the ":" delimiter and using the "last" expression. For…
inni
  • 1
  • 1
0
votes
3 answers

Split by delimiter which is contained in a record

I have a column which I am splitting in Snowflake. The format is as follows: I have been using split_to_table(A, ',') inside of my query but as you can probably tell this uncorrectly also splits the Scooter > Sprinting, Jogging and Walking…
0
votes
1 answer

How to import csv file which contains qoute signs and the delimiter is coma?

So i am having a problem importing a csv file, i want to make an object from the columns but i cant read in properly. So the header line looks like this: Title,Year,Genre,Rating,Votes,Directors The data line looks like this: The Last of Us: Mass…
Cube GG
  • 3
  • 2
0
votes
0 answers

How to use cedilla in hortonworks

I have a framework written in scala which reads a json and processes it based on the input in the json. Val fileContent=scala.io.Source.fromFile("filename") val jsonText=fileContent.getLines.mkstring("\n") val…
0
votes
1 answer

Pop the first element in a pandas column

I have a pandas column like below: import pandas as pd data = {'id': ['001', '002', '003'], 'address': [['William J. Clare', '290 Valley Dr.', 'Casper, WY 82604','USA, United States'], ['1180 Shelard Tower',…
Sushmitha
  • 111
  • 5
0
votes
1 answer

Text to columns in pandas dataframe

I have a pandas dataset like below: import pandas as pd data = {'id': ['001', '002', '003'], 'address': ["William J. Clare\n290 Valley Dr.\nCasper, WY 82604\nUSA, United States", "1180 Shelard Tower\nMinneapolis, MN…
Sushmitha
  • 111
  • 5
0
votes
0 answers

Find out what is the file separated with

I'm working on a problem where I have to find out what delimiter is used on the data. Here is a sample data: 1 2 3 4 10 20 30 40 1,3,1,2,3,4 4;3;2;2;1 1,3,1 2 3 4 In the output I would have to write out what is the delimiter for the data in…
wieszak09
  • 59
  • 6
0
votes
0 answers

string.indexof() for "weird" characters, which cases are not covered by System.StringComparison.Ordinal?

I have this piece of code: var index = some_string.IndexOf(Delimiter); When Delimiter equals "\u0003", this seems not to work, so I have solved this as follows: var index = some_string.IndexOf(Delimiter, System.StringComparison.Ordinal); Delimiter…
Dominique
  • 16,450
  • 15
  • 56
  • 112
0
votes
1 answer

How to convert a list with special delimiter to a python dataframe?

I have the following list where double brackets indicate a new element: [[[33.79277702, -104.3900481], [35.79415582, -104.39016576], [38.7939, -107.31792], [31.792589, -188.38847], [36.79221, -108.388367], [36.79238003, -108.38905313]], …
JEG
  • 154
  • 1
  • 15
0
votes
3 answers

How to remove brackets and commas from an string input?

I am using the latest version of python and my IDE is the latest version of pycharm. I am attempting to convert RLE or raw data to hexadecimal. An example of the raw input would be [3, 15, 6, 4]. I don't know how I would go about removing the commas…
0
votes
1 answer

How to use sscanf where delimiter is stored in variable

I have a C program that gets the input file delimiter as an argument from the user and stores it in a char. I then need to sscanf the input file based on that delimiter that the user has specified. Is this possible? Pseudo code: char delim =…
daragh
  • 487
  • 9
  • 18
0
votes
0 answers

Problem with delimiter removing my String

When printing I want it to put out: C Windows system But the delimiter makes it so system does not show. What do I do? Scanner userInput = new Scanner (System.in); userInput.useDelimiter("[/\n:/ /]"); System.out.print("Vilken…