Sign in Join
FPDoc Onlineexperiment

TabsToSpaces function

In unit LazStringUtils

Converts all Tab characters in a string to the specified number of space characters.

Declaration

pascal
function TabsToSpaces(const s: string; TabWidth: Integer; 
 UseUTF8: Boolean): string

Description

Replaces all Tab characters (#9) in S with the specified number of space characters.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.