天软金融分析.NET函数大全 > TSL函数 > 基础函数 > 字符串 > 重复函数

DupeString    

简述

返回将指定的字符串AText重复ACount次后的字符串
定义
DupeString(AText: String; ACount: Integer): String;
参数
名称类型说明
AText String字符串类型,源串
ACount Integer整数,重复的次数
返回 String
字符串
  • 范例




    S:= DupeString('Ha', 5);

    return s;

    //输出:表示将S的值变为'HaHaHaHaHa'

相关