Javatpoint Logo
Javatpoint Logo

MySQL SPACE() Function

The space() is a String function of MySQL. This function returns the given number (n) of blank spaces.

Syntax

Parameters:

N: number of spaces to be returned.

Returns

This function returns a string with a specified number of spaces.

Example 1

Output:


MySQL String SPACE() Function

Example 2

Output:


MySQL String SPACE() Function
Next TopicMySQL String




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA