You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to generate a string that could consist from words. I'm trying the following:
length(10).with(oneOf(" ,")).english()
but sometimes it generates strings that start or end with space or comma. I'm looking to a way of avoiding it. Would it be possible to also specify a separator between words?
The text was updated successfully, but these errors were encountered:
Ok, I don't know if I implement this in the nearest future. So in the meantime if this is acceptable, you can try repeaters: repeat(length(10), NUMERIC).string(", ").times(4)
BTW, this separator() can also be implemented outside of the lib. You just need to implement a specific interface.
I need to generate a string that could consist from words. I'm trying the following:
but sometimes it generates strings that start or end with space or comma. I'm looking to a way of avoiding it. Would it be possible to also specify a separator between words?
The text was updated successfully, but these errors were encountered: