Sv Percentify

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Returns the input string with each '%' character replaced by two '%' characters. The argument can be any expression evaluating to a string value.

Syntax

[help]
(string) sv_Percentify Source:string 

Example

string_var my_string

let my_string := "100% gold"

let my_string := Sv_Percentify my_string

; my_string == "100%% gold"

See Also