LucidDbAppLib REPEATER

From Eigenpedia

Jump to: navigation, search

Contents

Syntax

APPLIB.REPEATER ( string, number )

Purpose

Repeats the string as many times as specified

Input

  • string [VARCHAR(65535)]: the string to repeat
  • number [INTEGER]: the number of times to repeate the string

Output

  • [VARCHAR(65535)] - string with all the repeats in it

Example

NAME REPEATER( NAME, 2 )
345 345345
Bernard Walsh Bernard WalshBernard Walsh
Joan Yu Joan YuJoan Yu
Martin Blair Martin BlairMartin Blair
Mike Rodriguez Mike RodriguezMike Rodriguez
Olivia Kuznetsov Olivia KuznetsovOlivia Kuznetsov
walter king walter kingwalter king

Source Code

http://p4web.eigenbase.org/open/dev/luciddb/src/com/lucidera/luciddb/applib/string/RepeaterUdf.java


Return to LucidDbAppLib page

Personal tools