The RPT function returns a string that repeats a source string the specified number of times.
The RPT function has the following format:
RPT(source_string|number, repeat_count)
The RPT function accepts the following parameters:
source_string (string)
This parameter can be a number; it is converted to a single character.
repeat_count (string)
The RPT function returns a string.
Return_value=RPT('Juan', 3)
Return_value='JuanJuanJuan')
Return_value=RPT('*', 10)
Return_value="**********')
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |