soundex

fnchar[] soundex(scope const(char)[] str, return scope char[] buffer = null) @safe pure nothrow

Like soundexer, but with different parameters and return value.

Parameters

strString to convert to Soundex representation.
bufferOptional 4 char array to put the resulting Soundex characters into. If null, the return value buffer will be allocated on the heap.

Returns

The four character array with the Soundex result in it.

Returns null if there is no Soundex representation for the string.

See Also