Li, George
2010-Jan-04 02:56 UTC
[dtrace-discuss] Convert String to lower/upper case in dtrace
Hi, Is there a function to convert a String to all lower case or all upper case and then use strstr() to compare with another string? I don''t seem to find the documentation for strstr() or substr(),etc. functions in the Documentation URL? But these functions does work in dtrace script. Could someone post the documentation of the String functions? Thanks, George -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20100103/98ec3938/attachment.html>
Adam Leventhal
2010-Jan-04 06:15 UTC
[dtrace-discuss] Convert String to lower/upper case in dtrace
> Is there a function to convert a String to all lower case or all upper case and then use strstr() to compare with another string? > > I don?t seem to find the documentation for strstr() or substr(),etc. functions in the Documentation URL? But these functions does work in dtrace script. Could someone post the documentation of the String functions?Hi George, You can find all the built-in actions, variables, and subroutines here: http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libdtrace/common/dt_open.c#140 Not all of them are documented in the DTrace wiki, so we encourage members of the community to contribute. Thanks. Adam -- Adam Leventhal, Fishworks http://blogs.sun.com/ahl