![]() Warning: An error will occur if the parameter to this function cannot be converted to a floating point value! Check below for more information. Returns False if conversion operation has failed. You can use FormatFloat function to convert Int64 values to a string without a loss of range. Basic Conversion Function Remarks function BoolToStr B: Boolean : String Convert boolean variable into a string. Function Remarks function OemToAnsi const S: String : String Convert OEM string into an ANSI string. Console Output Conversion OEM-defined character set is commonly used in the output of console applications. Useful for storing Unicode strings in files, sometimes for compatibility reasons and sometimes to reduce the size of the file. Unicode Conversion Function Remarks function WideToAnsi const WS: WideString : String Converts a string to its version. More information regarding classification can be found on the internet. In case of non-alphabetic character, it returns the same character. Unicode Character Handling Function Remarks function IsWideCharUpper WC: WideChar : Boolean Checks a Unicode character WC and returns TRUE if it is in UPPERCASE. Function returns an array of full matches, which matched the entire expression, not the sub-patterns. Regular Expressions Function Remarks function IsMatchingRegEx const Input, Pattern: WideString const CaseSensitive: Boolean : Boolean Check for a match against a RegEx pattern. The full list of meta tags can be found in article. Return type changed from String to WideString in v5. Meta Tags Extraction Function Remarks function CalculateMetaTag const FilePath: WideString const MetaTagName: String : WideString Extracts and returns the value of a meta tag specified by MetaTagName from the file specified by the complete absolute path FilePath. All other alphabetic characters are converted to lowercase. First letter of every word is capitalized. Only the first alphabetic character is capitalized. Returns TRUE if both are identical, otherwise returns FALSE. The return value is less than 0 if S1 is less than S2, 0 if S1 equals S2, or greater than 0 if S1 is greater than S2. Returns the position of first occurrence, or 0 if nothing was found. If new length is greater than original, the string will be expanded but additional characters will not be initialized and can be anything. ![]() If new length is smaller than original, the string is truncated. Unicode String Handling Routine Remarks procedure WideInsert const Substr: WideString var Dest: WideString Index: Integer Inserts Substr in Dest at position Index. Length Management Routine Remarks procedure SetLength var S: Array NewLength: Integer Sets the length of array variable S to NewLength. For example, ShowMessage and WideShowMessage procedures. ReNamer has similar functions without Wide prefix, for processing ANSI strings. A common prefix Wide in the function name indicates that the function deals with strings WideString. This functionality is available for use via the. These entities may be derived from the existing filename, path, system date, meta tags from the file, strings entered by the user, etc. ReNamer has many functions to manipulate the entities related to file names and do some more complex tasks for individual files. Pascal also provides powerful tools for date arithmetic that makes manipulating dates easy. Return the number of days in the month in which a date occurs. Calculate the number of whole months between two DateTime values Calculate the approximate number of months between two DateTime values. Click here: => ?dt&keyword=free+pascal+date+time+functions&source=_dt
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |