what is '0x0', what significance it has with padchar
Posted: Wed Jan 14, 2009 3:24 am
In my project the default value for APT_STRING_PADCHAR is 0x0.
i am mapping 'HUB' to a field char(5), now when i view the data at the target i dont see any characters padded to this value. can anyone explain what is this '0x0' and what happens when this is padded.
In between i am using a transformer where i am checking if the value is 'HUB', unfortunately the condition is failing. i think the reason might be that 'HUB' is padded with '0x0'??? now if i need to check for this value in the transformer how am i supposed to do so?
should i check with 'HUB0X00X0'
please suggest!!!
i am mapping 'HUB' to a field char(5), now when i view the data at the target i dont see any characters padded to this value. can anyone explain what is this '0x0' and what happens when this is padded.
In between i am using a transformer where i am checking if the value is 'HUB', unfortunately the condition is failing. i think the reason might be that 'HUB' is padded with '0x0'??? now if i need to check for this value in the transformer how am i supposed to do so?
should i check with 'HUB0X00X0'
please suggest!!!