99 Topics
|
|
May I know how to split a word into individual characters (letters)? For example, AUGC into A U G C |
|
How would you split an existing string where a chararacter occurs into an array of strings, and store that character in a char? For example, inputting 123a5 would return {123,5} in an array and 'a' in a char. I've confused myself with this. I will greatly appreciate any help. |
|
I have a column in my database that has a list of keywords. sometimes the keywords are a couple of words and sometimes just one. Each keyword (can be more than one word) is separated from a comma. for example - this is my column - hi, how are you, … |
|
|
Hi, I need help with an Assignment that requires me to continue(inheritance) on an existing assignment that I previously did. When I run the program and choose option 4 or 5 nothing happens, it skips the rest of the loop and starts again. #This is the main code that uses … |
Greetings, I just want to know how to split a string using values of dictionary: dic = {'': '000', ' ': '011', 'e': '1111', 'g': '10', 'h': '010', 'o': '00', 'p': '1101', 's': '1110', 'r': '1100'} word = '1000011100001110001101010111111001110000' for items in dic.values(): [INDENT]word.split(items)[/INDENT] .... and when i do this … |
|
This program I thought was working fine. It reads something I type in then it's supposed to break up the words (or random letters) separated by a " " and pop them into array [B]arr[/B]. It works, well sometimes... I don't know what's stopping it and them other times allowing … |
|
Forgive me if this is already covered somewhere which I am sure it is but............ All I am trying to do is split a string that contains the \ char ie filename. Seen a few ideas and after much frustration I have settled with below code. Replace works fine. Split … |
|
Hi, i am new at shell scripting and i need your help. i have a very big txt file that contains articles,authors,etc. Each article has this form: .I <article's serial number> <article information(in new line)>. What I need is a script tha will split this file into smaller ones.The script … |
|
I need to read from a file and be able to split it into columns and ignore a line if it starts with ' . '. the text file is made of 3 columns but at some lines there are no words in the first column here is an example … |
The End.