См. определение в файле PluginConfigHandler.c строка 276
277 {
278 int lenght = text.
Length();
279
280
282 if ( pos1 == 0 && text.
Substring(lenght - 1, 1) ==
"}" )
283 {
285 }
286
287
289
290 if ( pos1 == 0 && text.
Substring(lenght - 1, 1) ==
"\"" )
291 {
292 string string_text = text.
Substring(1, lenght - 2);
293 if ( string_text.
IndexOf(
"\"") == -1 )
294 {
296 }
297 }
298
299
301 if ( pos1 > -1 )
302 {
304 }
305
306
308 if ( lenght == 4 && pos1 > -1 )
309 {
311 }
312
313
315 if ( lenght == 5 && pos1 > -1 )
316 {
318 }
319
320
322 if ( pos1 > -1 )
323 {
325 }
326
327
329 }
const int CFG_TYPE_STRING
proto native int Length()
Returns length of string.
proto string Substring(int start, int len)
Substring of 'str' from 'start' position 'len' number of characters.
proto native int IndexOf(string sample)
Finds 'sample' in 'str'. Returns -1 when not found.
Перекрестные ссылки CFG_TYPE_ARRAY, CFG_TYPE_BOOL, CFG_TYPE_FLOAT, CFG_TYPE_INT, CFG_TYPE_PARAM, CFG_TYPE_STRING, string::IndexOf(), string::Length() и string::Substring().
Используется в IsArray(), IsBool(), IsFloat(), IsInt(), IsParam(), IsString() и ParseText().