Author Topic: String manipulation with PascalScript  (Read 134 times)


  • Hero Member
  • *****
  • Posts: 526
String manipulation with PascalScript
« on: September 16, 2020, 06:22:16 am »
From inside a pascalscript, how do I make available Copy and Delete so I can chop some strings? For some reason copy/delete doesn't work.


Ok, so these routines are built-in and dont have to be added externally to be made available. Don't know why they were inaccessible in the test app I made but now it works.

Built in routines:
Code: Pascal  [Select][+][-]
  1. Insert, Delete, Trim, Copy, Pos, StrGet, StrGet2, WStrGet, WStrSet, uppercase, lowercase
  2. AnsiUppercase, AnsiLowercase, GetArrayLength, SetArrayLength, Length, SetLength, SizeOf
  3. Low, High, Round, Trunc, FloatToStr, StrToFloat, IntToStr, StrToInt, StrToInt64, Int64ToStr
  4. StringOfChar, Round, Trunc, Int,
« Last Edit: September 16, 2020, 06:25:36 pm by kapibara »
Lazarus trunk / fpc 3.0.4 / Debian 10 - 64 bit


TinyPortal © 2005-2018