Search found 66 matches: delimiter

Return to advanced search

Re: XBROWSE FIELDS with Name in Array

how does"cFieldList" look like and what Delimiter is used :?:


Comma delimited
Eg: "FIRST,CITY,SALARY,..."

We can easily convert an array like DbStruct() to list like this:
FW_ArrayAsList( ArrTranspose( aStruct )[ 1 ] )
by nageswaragunupudi
Tue May 02, 2023 3:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE FIELDS with Name in Array
Replies: 12
Views: 786

Re: XBROWSE FIELDS with Name in Array

hi,
nageswaragunupudi wrote:
Code: Select all  Expand view
METHOD EditSource( lNew, cFieldList, lNavigate, aInitVals )

ah, ok thx for Answer

how does"cFieldList" look like and what Delimiter is used :?:

would be nice if it also accept a Array with (reduce) Structure of DbStruct()
by Jimmy
Sun Apr 30, 2023 9:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE FIELDS with Name in Array
Replies: 12
Views: 786

Re: Extracting the lines from a text

... , ; [<lSkipQuotes>] , ; [<lDoubleQuotesOnly>] ) --> aTokens <cDelimiter> A single character can be specified as delimiter used to tokenize the string <cString>. It defaults to a blank space (Chr(32)).
by hua
Mon Sep 26, 2022 7:00 am
 
Forum: Utilities / Utilidades
Topic: Extracting the lines from a text
Replies: 4
Views: 764

Re: Extracting the lines from a text

hi, However hb_atokens() only accepts a single character for the delimiter. So can't pass CRLF to it https://github.com/Petewg/harbour-core/wiki/hb_A#hb_atokenscstring-cdelimiterleol-lskipstrings-ldoublequoteonly--atokens hb_ATokens(<cString>, ...
by Jimmy
Mon Sep 26, 2022 3:50 am
 
Forum: Utilities / Utilidades
Topic: Extracting the lines from a text
Replies: 4
Views: 764

Re: Extracting the lines from a text

Thanks for the tip of using hb_regexSplit().
However hb_atokens() only accepts a single character for the delimiter.
So can't pass CRLF to it
by hua
Thu Sep 22, 2022 6:57 am
 
Forum: Utilities / Utilidades
Topic: Extracting the lines from a text
Replies: 4
Views: 764

Re: dbase III/IV file encrypted

... 3 /* Data file's header size */ #define DBI_LASTUPDATE 4 /* The last date this file was written to */ #define DBI_GETDELIMITER 5 /* The delimiter (as a string) */ #define DBI_SETDELIMITER 6 /* The delimiter (as a string) */ #define DBI_GETRECSIZE 7 /* The size of 1 record in the file ...
by lorenzoazz
Sat Jan 29, 2022 1:17 pm
 
Forum: All products support
Topic: dbase III/IV file encrypted
Replies: 8
Views: 1146

Open Excel file with TOleAuto() - parameters

... The sintaxis for the command is: :Open (FileName, UpdateLinks, ReadOnly, Format, Password, WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter, Editable, Notify, Converter, AddToMru, Local, CorruptLoad) I need send UpdateLinks with .F. and ReadOnly with .T. Thanks in advance
by hidroxid
Sat Mar 06, 2021 10:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Open Excel file with TOleAuto() - parameters
Replies: 1
Views: 412

Re: Add a extra option to the method ToCSV

We will provide a new parameter for the delimiter in our next versions. We will also publish a patch for you here. You can use derived classes of xbrowse very easily. You can use the derived class for the entire application or different derived ...
by nageswaragunupudi
Thu Sep 24, 2020 2:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add a extra option to the method ToCSV
Replies: 10
Views: 1366

Re: Delimiter characters

And how can I figure out how many parts to split a continuous string into ? After all, the width of each substring can be different (depending on the font)
by Natter
Fri May 01, 2020 8:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Delimiter characters
Replies: 4
Views: 565

Re: Delimiter characters

It does not split a continuous string.
Please try
"ABCDEFGH" + CRLF + "IJKLMNOP" + "QRSTU"
by nageswaragunupudi
Fri May 01, 2020 7:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Delimiter characters
Replies: 4
Views: 565

Re: Delimiter characters

Thank You, Mr. Rao. I looked at the DrawTextEx () function, but I still don't understand how you can show a continuous string " ABCDEFGHIJKLMNOPQRSTU " in a cell (which is wider than this cell), so that the string looks something like this ABCDEFGH IJKLMNOP QRSTU
by Natter
Fri May 01, 2020 7:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Delimiter characters
Replies: 4
Views: 565

Re: Delimiter characters

XBrowse uses Windows API function DrawTextEx() for drawing single/multi-line text. If the value does not fit into single line and enough cell height is available, the text is displayed in multiline. For more details how the DrawTextEx() function works, please see https://docs.microsoft.com/en-us/win...
by nageswaragunupudi
Wed Apr 29, 2020 11:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Delimiter characters
Replies: 4
Views: 565

Delimiter characters

... cell will look like: MY TEXT i.e. the text is redistributed across the column width by the space between words. Is it possible to specify other delimiter characters of the words ("- ", ". ", etc.) ?
by Natter
Tue Apr 28, 2020 8:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Delimiter characters
Replies: 4
Views: 565

String to array using 2 different delimiters

... a textline with 2 delimiters ? maybe a char replace of < - > with blancs next splitting the line for < ; > and splitting blancs :?: Delimiter Fields < ; > Delimiter Fieldinfos < - > FIRST-C-20-0;LAST-C-20-0;STREET-C-30-0;CITY-C-30-0;HIREDATE-D-8-0the wanted resultDBF-structureFIRST  ...
by ukoenig
Fri Aug 09, 2019 12:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: String to array using 2 different delimiters
Replies: 4
Views: 618

Re: Copy File SDF eliminar comillas

... as a delimited ASCII file where field values are separated with a comma and Character values are enclosed with a delimiting character. The default delimiter for Character values is a double quotation mark. DELIMITED WITH BLANK | TAB | PIPE When the delimiter is specified as BLANK, field values ...
by armando.lagunas
Mon Jul 17, 2017 2:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Copy File SDF eliminar comillas
Replies: 2
Views: 577
Next

Return to advanced search