answersLogoWhite

0

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. An example of a delimiter is the comma character, which acts as a field delimiter in a sequence of comma-separated values

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Does field indicator separates imported data into columns?

A field indicator or a delimeter, as it can be called, can be used to indicate where fields end. In a spreadsheet or a database it can be used a guide when importing data to help put it into the correct columns.


Difference between cin and scanf?

the getchar function waits the user hit a key followed by return key. Upon the return key hitted by the user the function returns the key. But the scanf can be used for various & different user entered data including text, integer, float and so on. in spite of getchar the delimeter keys for scanf function are tab, space and return key; so when a space entered by the user in the input the scanf will end the input and waits user enter the return key. You must take in mind that just the fragment of input that is behind these delimeters will be considered as legal input for the scanf and the remaninder will be escaped.


A program that searches for single-digit numbers in a text and changes them to their corresponding words?

public static final String convertString(final String stringToSearch) { // text representation of digits final String[] digits = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"}; // the new version of stringToSearch, as we convert digits StringBuffer convertedString = new StringBuffer(); // delimeter for splitting up the string // - change this if you need to parse on more characters final String delim = " ,.?!\t\n\r\f"; // parse using StringTokenizer for simplicity StringTokenizer parser = new StringTokenizer(stringToSearch, delim, true); // iterate through tokens while (parser.hasMoreTokens()) { String currentToken = parser.nextToken(); // if currentToken is a single digit, convert it to text if (currentToken.matches("\\d")) { currentToken = digits[Integer.parseInt(currentToken)]; } // append converted text to convertedString convertedString.append(currentToken); } return convertedString.toString(); }