武装突袭 Wiki
Advertisement
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Removes characters from a string based on the list of allowed characters.

Syntax

Syntax:
[ text, filter ] call BIS_fnc_filterString;
Parameters:
text:: String - Text to filter.
filter (Optional): String - Filter of allowed characters (default: A-Z, a-z, 0-9 and "_")
Return Value:
String - Filtered text with only the allowed characters supplied in the filter.

Examples

Example 1:
["Player 1 @%!@$"] call BIS_fnc_filterString; Returns "Player1"
Example 2:
["Player 1", "Player"] call BIS_fnc_filterString; Returns "Player"

Additional Information

Execution:
call
Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Advertisement