kytschBASIC

Put down that phone!
Please view me on real computer.

STRIPLEAD$
STRING, ASCII|CHARACTER

This function will remove all the lead characters based on a supplied ASCII character value or a character.

Example

PRINT STRIPLEAD$("AAABBBAAA", 65)
PRINT STRIPLEAD$("AAABBBAAA", "A")

Output

BBBAAA
BBBAAA

See also