CGI_RemoveSpecialCharsPrefix

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > CGI >

CGI_RemoveSpecialCharsPrefix

 

Description

 

Removes a prefix to each specials characters in the string

 

Syntax

 

s = CGI_RemoveSpecialCharsPrefix(sText)

 

Returns

 

Return a string value.

The new string.

 

Parameters

 

Name

Type

Optional

Meaning

sText

String

No

The string to remove the prefix

 

Remarks

 

 The prefix is loaded from a configuration file.

 

Restrictions

 

 

See also

 

CGI_AddQuote, CGI_AddSpecialCharsPrefix, CGI_RemoveQuote, thinBasicCGI.config

 

Examples

 

Dim s As String

 

s = CGI_RemoveSpecialCharsPrefix("C:\\BOOT.INI")

echo("result: " + s) 'result: C:\BOOT.INI'