| FieldRemoveIllegalChars Method |
Removes those characters from an input string which are not allowed in field names,
and returns the form that will be accepted as a field name identifier. This method
should only be used when fields are automatically added by some process (e.g. by
importing a TMX file) and that process should be robust and continue despite invalid
field names.
Namespace: Sdl.LanguagePlatform.TranslationMemoryAssembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntaxpublic static string RemoveIllegalChars(
string val
)
Public Shared Function RemoveIllegalChars (
val As String
) As String
public:
static String^ RemoveIllegalChars(
String^ val
)
static member RemoveIllegalChars :
val : string -> string
Parameters
- val
- Type: SystemString
The input string.
Return Value
Type:
StringThe string after the illegal characters have been removed.
See Also
Comments