Assembles a length prefixed string from a raw value.
Siebel7Web.bdh
Siebel7Param( inout sString : string) : string;
Original string prefixed with a length specification and an asterisk.
Parameter | Description |
---|---|
sString | Any string. |
This function returns the original string prefixed with a length specification in decimal ASCII representation and an asterisk. This length prefixed format is commonly used in Siebel HTTP traffic. This function is recorded for the benefit of making customization and randomization of Siebel scripts easier.
dclrand rChars : RndStr("abcd", 1 .. 30); dcltrans transaction TParam begin Writeln(Siebel7Param("")); Writeln(Siebel7Param("Y")); Writeln(Siebel7Param("No")); Writeln(Siebel7Param("Foo")); Writeln(Siebel7Param("Bar")); Writeln(Siebel7Param("Lucent Technologies Incorporated")); Writeln(Siebel7Param(rChars)); Writeln(Siebel7Param(rChars)); Writeln(Siebel7Param(rChars)); end TParam;
0* 1*Y 2*No 3*Foo 3*Bar 32*Lucent Technologies Incorporated 29*cdbcdaaabcbddcbacaadbdcbadcdb 17*dbadccbbaaabcadad 24*cadaaabadbbbddcacacbaadc