Fill - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


StringTools

  

Fill

  

generate a filled string

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Fill( ch, n )

Parameters

ch

-

single character string

n

-

non-negative (32-bit) integer

Description

• 

The Fill procedure generates a filled string from a specified length and fill character. The first argument is a fill character (a Maple string of length equal to one) used to produce the string. The second argument is the length of the string to generate; it must be a 32-bit integer.

• 

All of the StringTools package commands treat strings as (null-terminated) sequences of 8-bit (ASCII) characters.  Thus, there is no support for multibyte character encodings, such as unicode encodings.

Examples

withStringTools:

sFill ,10

s

(1)

lengths

10

(2)

Filla,0

(3)

Filla,5

aaaaa

(4)

See Also

length

StringTools

 


Download Help Document