Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  


Removes a prefix text to each entry in the list.

Component: List
Version: 6.1
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "List.RemovePrefix"; List; Prefix { ; NoReturnEnding; CaseSensitive } )


Parameter Description Example value
List The list to process. "Hello¶World"
Prefix The text to remove. "H"
NoReturnEnding Optional
Pass 1 to have no extra newline character on the end of the returned list. Default is 0 to include one to easily concat lists.
CaseSensitive Optional
Whether to match with case sensitive comparison.
Default is 0 for case insensitive.
You can pass 1 to have a case sensitive comparison.


Returns list or error.


Removes a prefix text to each entry in the list.


Remove prefix from list:

MBS( "List.RemovePrefix"; "testHello¶Other¶testWorld"; "test")

See also

List.RemovePostfix   -   List.RemoveValue

Feedback: Report problem or ask question.

MBS Realbasic tutorial videos - Pfarrgemeinde Ministranten Nickenich