Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

help me, how to remove the delimiter String Grid with [Delphi]

Featured Replies

Posted
how I can remove the separator between char 1, with another char?...

if I use spaces, the *. nfo will separate like something is messed up :(

 

Code :

 

procedure TForm1.Export1Click(Sender: TObject);

var

   I : Integer;

   SL : TstringList;

begin

   SL := TstringList.Create;

for I := 0 to SG.RowCount - 1 do

begin

   SG.Rows.Delimiter := #32; // replace coma with spaces

   SL.Add(SG.Rows.DelimitedText);

end;

if not SD.Execute then

   Exit;

   SL.SaveToFile(SD.FileName);

   SL.Free;

end;

ZN.zip


for i := 0 to SG.RowCount - 1 do begin
   finalString := '';
   for j := 0 to SG.Rows[i].Count - 1 do begin
      finalString := finalString + SG.Rows[i][j];
   end;
   SL.Add(finalString);
end;
  • Author

for i := 0 to SG.RowCount - 1 do begin

   finalString := '';

   for j := 0 to SG.Rows.Count - 1 do begin

      finalString := finalString + SG.Rows[j];

   end;

   SL.Add(finalString);

end;

finalString as what, String grid / TStringList? ... thx b4

It's obvious from the usage, isn't it? It's just a simple "string"


  • Author

ok, I thought it was ..., is appropriate, but the file just does not fit with those of its editor, but no matter I'll try to tackle it :)


Thk's Kao!


Edited by X-88

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.