Description
The PSCIsCharInBoldSection function gets the number of bold section in the S string, that includes a CharPos position. The bold section is a part of the string enclosed in '~' symbols. Example: S = '~First~ ~Second~' CharPos = 10 Result = 2 Example: S = 'No bold section' CharPos = 5 Result = 0